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": [
"bb2e374295fab7f7435ce22d"
],
"read": [
"43816d6a2c272b0dd9a36149",
"5d3ae734d7248bb608410858",
"133418505cabde8050bd62b0",
"21f93b8f128c33a5af6f1552",
"d23b591f0c19909c7e71e75b"
]
},
"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": "workflows",
"createdBy": "Pronghorn",
"created": "1951-09-15T09:05:59.724Z",
"lastUpdatedBy": "22923206659438543a347120",
"lastUpdated": "1945-12-19T13:47:47.307Z",
"_id": "d39b51371d35c9694a3df625",
"gbac": {
"write": [
"6653563e88d64492010fb82f"
],
"read": [
"4151b181779c244628e91ae3"
]
},
"componentId": "38b530595de51cd1beeca584"
}
}