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": [
"b7d16c4998ebd48d46d5d7d6",
"82e533f9c699b554a233e400",
"462220d7a254cdcc642ac878"
],
"read": [
"6d1c6568070092ae11537630",
"5e275bd2a2ac41c1c758adce",
"687677a6c8fce6f52eecf0ca",
"3b962554b4c837a7a55f6488"
]
},
"componentId": null
}
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": "1986-06-26T16:59:27.234Z",
"lastUpdatedBy": "55d65a0e079261bef8e365f7",
"lastUpdated": "1971-12-06T22:42:33.646Z",
"_id": "fbcf110337fee6e9ce1a04e4",
"gbac": {
"write": [
"e7a66e160b78fb80811389d0",
"ac1a1ccb40379b42119da977",
"b5010857a0e6a8b0c141f590"
],
"read": [
"02f8aba61a4b2d43b5a35a2a",
"0a67863b876c8838f8ac5c84",
"9aa23ecc8f5d9f69764e145c"
]
},
"componentId": "C4e1C1D9-c0Fd-78BC-CFFF-539b03dc26b2"
}
}