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": "workflows",
"gbac": {
"write": [
"9ea406c5eb2536681934a911",
"6ecb5e61d1523a360e4a4263",
"def9f14d834d1704b31ad97c",
"29ef489dca15b3c9716b4d27",
"5d7e795320117e53ef1d8383"
],
"read": [
"cbdd36e92e144bd42e46bbb1",
"0c7d0406d099282cc78dd745",
"7478e4863e10706df7919216"
]
},
"componentId": null
}
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": "fa4ab86fd6000fce1130583a",
"created": "1976-01-19T12:31:35.746Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1944-05-02T03:16:55.58Z",
"_id": "efc1d0418b066ef6bfc28b0b",
"gbac": {
"write": [
"31c7c156287b014636feecbf",
"12a30e66461cdceb6ff228c1",
"727440cd1ca81180004ec4e2",
"8f6696ee54c3bd3eb8167dbd",
"dc743f123ec19c448cc19917"
],
"read": [
"e3999ac00e83991a49c8f594"
]
},
"componentId": "d6445db6-7C73-11A0-34B2-2A00515B4F69"
}
}