Summary
Update Automation
Description
Update an Automation.
Route
PATCH /operations-manager/automations/:id
Roles
admin
apiwrite
engineering
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
id |
string |
yes |
The id of the Automation to update. |
updates |
object |
yes |
The details of the Automation document to update. |
Copied to Clipboard
{
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "ucm_compliance_plans",
"gbac": {
"write": [
"1a8ba43c866db7347e0cf450",
"04d997b856d3492a92ed53ab",
"dbdf23412b5ed04f000721a1"
],
"read": [
"0aaedc8a3df9c793629ccf11",
"8d88fb839fe96586e2626ac1",
"655cdbee88ea4e6332427c92"
]
},
"componentId": "4ceB3D4b-72DD-F251-F5Cb-5F611CDe802F"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "Pronghorn",
"created": "1982-01-25T03:47:34.77Z",
"lastUpdatedBy": "fbe8ea2e020675f30aa58341",
"lastUpdated": "1993-10-07T02:15:35.483Z",
"_id": "9565221f235a42cecbfd1103",
"gbac": {
"write": [
"eaed0c62d3506f4c5243b8b9",
"a2af84eaf8b4527c61cf6b41",
"0b3690dacd5f62ecbde23c0a",
"2ebced31a4e64edb93a26c18",
"3d8286cae98ce6b9823320ca"
],
"read": [
"7558d832bce45c2d1a636240",
"3f87a0b3d0b4649434b24224"
]
},
"componentId": "d8cea0066847929c8ab9d9de"
}
}