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": null,
"gbac": {
"write": [
"3921e6d2f70d056ae74dc288",
"1e0a1abb08d628659f5813c3",
"d7a28decbfaf40f8e9e61737",
"49b974dd942db04efbadadd5",
"27cea89c89a01ff9a04474db"
],
"read": [
"63ce3c1fffd73c90d3a8bf59",
"3dba3fe76afaa2612320c81d",
"c6a193ab90c772f12985244e",
"d3d6998f9dc02e461cdcf919",
"8facbd8361cad4b4fdd5455b"
]
},
"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": "c697dad72a5ead1386dc6fb0",
"created": "2014-01-04T05:37:58.09Z",
"lastUpdatedBy": "0437a82af5521fc3ea1e785c",
"lastUpdated": "1988-10-20T13:51:07.171Z",
"_id": "e7da654e0e1d79afa2b551a5",
"gbac": {
"write": [
"fffd3cb6642af9fec24b1b44",
"51dd2e78f3028c63345774ae",
"4294655312a64ccf128f7a80",
"1d54cb4a16e89aad1961bee7"
],
"read": [
"a93131eddf9fbb0fddf6a03b"
]
},
"componentId": "61acE624-0Bc8-BdBC-2643-0CbA46bfF3BE"
}
}