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": [
"51d7b80ae823cca9bab4342a",
"f285918dd5ae29a4be231660",
"43dcff6d870309aa928d3505"
],
"read": [
"17d79dceb1ba7eaef18e240f",
"a38bf7512af3c9d6eae29622",
"018b37a1a4a09f54223eea98",
"2c431dba3f79d4baa1057e50"
]
},
"componentId": "0e5E1Cc6-B26c-e17F-Da21-54F99Dc58B17"
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully created the requested item",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "Pronghorn",
"created": "1952-10-04T13:53:03.374Z",
"lastUpdatedBy": "de6345785bc1296dc1fa464e",
"lastUpdated": "2015-02-27T19:40:15.497Z",
"_id": "195125087bbee1ebf624b964",
"gbac": {
"write": [
"138e943f7f166410b8625896"
],
"read": [
"a3cf428cbf3cb68a1aaa961a"
]
},
"componentId": null
}
}