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": [
"6f48e5b7ac2a7e2ddc761c21",
"d114fcf9e006c0ebd8cf057b",
"616d07396b2135d9d2aa70fb"
],
"read": [
"d5bbff401424c7cda3a07822"
]
},
"componentId": "3129842191ec10cd8aa59710"
}
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": "ucm_compliance_plans",
"createdBy": "Pronghorn",
"created": "1966-02-21T09:37:57.217Z",
"lastUpdatedBy": "c71a6eeed1af430c36b62144",
"lastUpdated": "1957-08-30T06:11:14.824Z",
"_id": "f9f65a6667dccbe1796c43ae",
"gbac": {
"write": [
"5f32e7ffcbe2aa8197b197fd",
"8ad269551ef1021015491fa3",
"4e6ed4f41a1910546d0ba1f2",
"32536b946f3f6f47e23ec0d9"
],
"read": [
"b92977bf8550812164fa04bf",
"a4dd4afb8fb2a34a558f468b",
"f7b7b1428de01af20978dd8e",
"88d456165074dfa084cea2ba"
]
},
"componentId": ""
}
}