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": [
"e0cea3812c58c691fbef87f8",
"519ae820be7ee2f94fb3f726",
"5a995bd07091fe13c078c245",
"761dec07a7a2e042c9ecfa80"
],
"read": [
"fa9143df09595010e32679ef",
"6d9ae71528fa23fad0f1f02f",
"179e48e878bd107831ad9147",
"185cfb54f9c8c2ee1cc54cf2",
"b9996339d67841cea09b6d3e"
]
},
"componentId": "52c7Db2E-161A-eE48-39fF-ACC2a2Ff7e8e"
}
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": null,
"createdBy": "be463b6828cb8cc7d3ec6a63",
"created": "1968-12-13T20:53:13.896Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1975-09-19T07:15:46.043Z",
"_id": "12a0ff0fe25287dc721a3110",
"gbac": {
"write": [
"0a5214c09685c396a49cb949",
"5223ae47b4b330bdb6f1f3d0",
"e2d9ad4461e709e595d7717a",
"b938aa1d4453f0d3ecac68cf"
],
"read": [
"ff244d1287875ba5b70b1dd8",
"cae75382a0c70a97f808829d",
"dec5f71d6f074e2301d0cef0"
]
},
"componentId": null
}
}