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": [
"ca9ccd2306d1ffdef7410a6b",
"e9dd0dfdf10ff50160c55a5b"
],
"read": [
"32850071a6e93d2fdf752533",
"164d06ad99d1d468e7ce1c20",
"eeb9044d081672d65dfb0b5b",
"3c2faab62746ea3d97bf3641"
]
},
"componentId": "F72daAFa-bB96-eD07-c6ed-66131AC3Cc5E"
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "e2fa3cea6b2b4d1f4b3a5995",
"created": "1950-07-26T18:05:54.147Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1972-02-07T16:08:24.73Z",
"_id": "d798b89a9c0400befd92bda9",
"gbac": {
"write": [
"d274ec9fba3bd97ce0a481f8"
],
"read": [
"2749d4cdb456cae9c78c1c5a",
"ee7958243e74de1093ab7cab",
"41e689650e1f0c5e99a19e16",
"ea1d115f4e71ef15ad06e874"
]
},
"componentId": ""
}
}