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": [
"bdd2c67d544aa231897bb18f",
"113a119e105cbb3bd9837c32",
"ad010b1efd0694b74acfc683",
"d3eaa8c09bdf71c41f6ab6b5"
],
"read": [
"4e5f4442184251b7cf519c77",
"283edbdb55da9dd1b7e1aeac",
"5796eb367b24402ad7ab5194"
]
},
"componentId": "0974e60b9fa4a3e12324126f"
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "d5c9ff9bf49ebeb0ed9e373e",
"created": "1946-07-26T09:16:40.574Z",
"lastUpdatedBy": "17ed53b4e43d1781d6ea876e",
"lastUpdated": "1957-06-06T15:01:02.43Z",
"_id": "1de5347bb0037e1db31ef730",
"gbac": {
"write": [
"9cd5b240fe2fe94201177f4a",
"ec0aa4f21d7c08ade521065b",
"7f5b738977b720f3161c1622"
],
"read": [
"167ea8c93a1372a9ad6a628a",
"e47d500ec45a8f0299a9cf3a",
"f86450f3259ba9d2150070c6",
"3abda338f416a886e05b0936",
"fc5846365309660455178ea0"
]
},
"componentId": null
}
}