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": [
"b7bb9301bddcd4cbdce5226d",
"4fefffe2e653ebcb915e1b85",
"85fd4f31834fc3f8a2295722",
"6b7abfa2988214ebaa953d21"
],
"read": [
"4f5a2646a1f7fc3f45066ee1",
"82361557d537bf38ba413c19",
"89dd4c7a806bf29f3451d4c9"
]
},
"componentId": null
}
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": "8049dcaa07cd559fd877497e",
"created": "1958-05-18T22:01:23.201Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2020-10-18T19:29:09.875Z",
"_id": "5c19dab160bf32e2da08f7b1",
"gbac": {
"write": [
"025b9276474316dcae5e99bc",
"158ef732d6daae3f5401f44a",
"b6748de8c4501a81b569459b",
"005107bdb162d7519c968f67"
],
"read": [
"3afa22e9d9461d63cd9a252a",
"cc5c9c6a1490326d79f86694"
]
},
"componentId": "3a6436d5a9b5643812921e68"
}
}