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": [
"002e52838964ed47dda95912"
],
"read": [
"ced775342e255821f6ef4bec",
"3a49c8ba0d016f8b8951d388",
"6078856143d5f815187d6ef7",
"dbcfe9f14ae37326b362f4c0",
"e7a5baf4922a4f8eb3b86ea9"
]
},
"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": "ucm_compliance_plans",
"createdBy": "b433832db3090e8739b54cca",
"created": "2015-12-13T07:30:14.035Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1957-07-19T21:35:12.515Z",
"_id": "222ae950e38cd7bbe2cd4c3d",
"gbac": {
"write": [
"14016cc87918dedae37e5b5e",
"f6f38d0161dd08c6ccbb2891",
"2bd897d0a205cc7e360b62dd",
"7f90ce1225f97ed033321ee7"
],
"read": [
"268a5390d52e715937dfd968"
]
},
"componentId": null
}
}