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": [
"f3afc6427c1b987cd5b5891e"
],
"read": [
"a56f17886068eedb178831ef",
"95be37077efdeca808b9125c"
]
},
"componentId": "cd5c7979-eCf5-E866-CD32-Bf8eE628A463"
}
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": "workflows",
"createdBy": "Pronghorn",
"created": "1953-06-29T00:55:32.465Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1980-06-07T03:24:33.118Z",
"_id": "13aa97223184eaa04e14de95",
"gbac": {
"write": [
"86434cfd22beed13614c9ed8",
"2defecfed8590980d68dc53c",
"bae8a86bfdd6b8eae9b90b04",
"c19fc0ab48e7ef62b08b827e",
"f93e784285f6e365d3fdd8ae"
],
"read": [
"55d7ce4d80af6dafb9d16a87",
"34d9e155ba575e609163608e",
"55aa76e88c746f7330316e24",
"befbed161828c0b16791f24a"
]
},
"componentId": null
}
}