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": [
"7e0505a1c97d5c37783a4fba",
"d70fa3b7f1f3e372ccaaa1ed",
"e465acf615d2529068eebeba"
],
"read": [
"6f49a7ee9ff35191017b08a6",
"7ed111c28596f5ea61f1167f",
"7bb34b6d3d8467d7a297a4dc",
"d8e8f23eb027ed0b2a839653"
]
},
"componentId": null
}
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": "workflows",
"createdBy": "Pronghorn",
"created": "2008-08-07T05:27:41.017Z",
"lastUpdatedBy": "f84ca92a2846d355e21ebaa4",
"lastUpdated": "1954-06-12T21:19:08.17Z",
"_id": "ef53cb4c5a4ed9b8d4e56587",
"gbac": {
"write": [
"7a76e749d13d6d4770e8a502"
],
"read": [
"4c577711014dcf086165b48a",
"da9edeab4e7549d56445d58a"
]
},
"componentId": "4d30E03E-9aFa-3eF4-A1fD-f22a9CbD64Cf"
}
}