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": null,
"gbac": {
"write": [
"e322a925b9ddf83a995c4742",
"9100c41c52414e56468ce098",
"e5b73ad49e1eec1d0f7b2726",
"cb3e00b710500a7268d7db2f"
],
"read": [
"c9604302ba7b39a80d484a99",
"737572789707565bff37ff0b",
"1b91fefbe62b5f4ca853075a"
]
},
"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": null,
"createdBy": "Pronghorn",
"created": "1983-10-08T13:36:27.34Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1959-11-11T13:17:37.398Z",
"_id": "9e0dbf7944fdac308eef95f5",
"gbac": {
"write": [
"10ab16ea3e1931b149c33af1",
"3767e478810e5f4a9eec4c49",
"8ec9565cf710f821f5a6848c"
],
"read": [
"d87a50e3b1c52e6c9d254984"
]
},
"componentId": "fa64b958-f8d7-DbDA-95c1-71fAA1B76Ceb"
}
}