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": "workflows",
"gbac": {
"write": [
"99c458224cffc3d9d1ea0d39",
"05c079c47b2d802ab10b483a",
"439f4f1db655265532a877a0"
],
"read": [
"2f2e54768fb74effc4dec99c",
"97d8bca681962d3c72009a3c",
"40941f2879a92ba0d101776f",
"ef8f590e953a3b1bfe70241e",
"8cf7e49cab84062bc853a3ea"
]
},
"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": null,
"createdBy": "da239162bc28c7b8363a14cd",
"created": "1972-02-22T04:19:42.55Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1999-09-08T04:42:53.083Z",
"_id": "bc7452096afc3db0af6f4dc1",
"gbac": {
"write": [
"b28f7c311772fcc6dfa613a5",
"12f9c2385b5eca330b433b16",
"1f7d32b722ec98eb50470d83",
"dbf8acaa859c65963fbd74d8"
],
"read": [
"2f9c0f01b2a063ca9189c661"
]
},
"componentId": null
}
}