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": [
"1b5508486406ac83a1711814",
"228347aae3ec9f7279d8b30c"
],
"read": [
"59caa0d3be4443b1d72edfaf",
"833f32141b2834ac7caa52db",
"26eb77d8bf75cf039e05b03a",
"16d1ee305fc076f6eb859025"
]
},
"componentId": ""
}
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": "ucm_compliance_plans",
"createdBy": "7b4a213c3b4aea26ef67cf80",
"created": "1985-09-29T15:28:02.112Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1991-11-27T23:02:25.498Z",
"_id": "252cb8f2190e1fddb6bd3213",
"gbac": {
"write": [
"b4bfcfe4506ceb77e7dd6361"
],
"read": [
"e0529e707da5f1886ef9dffc",
"5e634dd8bbb4b63de4f6dc13",
"02bcd9d60c38ea44c31d89d5"
]
},
"componentId": null
}
}