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": [
"006b06ad98f74d4ab3115cae",
"0c394fea7bebcd4163e0febb",
"85d9f9f7100904aa00efb883",
"28da6962fda25ec50db9d739",
"a9e687fdb82006a3a37067e8"
],
"read": [
"67c87fe37b61237bdf54f6c6",
"35d22fe5ba5a02faa89f7992",
"76c0b2bc8cd30d1dde5ff369",
"339cf2b984be37a05d42cd4b"
]
},
"componentId": ""
}
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": "2001-02-14T08:13:34.923Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1955-12-23T05:34:57.718Z",
"_id": "0200d8454b86e67d49b78754",
"gbac": {
"write": [
"712acee64b8433cb16fd4674",
"d5aee1a55996965f10fb5989"
],
"read": [
"7f2c182047d9ac940824276f"
]
},
"componentId": null
}
}