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": [
"a2c27e79ba1ff9c7883b7dec",
"4be7f2940a4621c056636e5e"
],
"read": [
"3bba334d09aad935b6cad8bb",
"02090201f27012511f425756"
]
},
"componentId": "Ba1C56DE-BDbD-6d92-38D2-F42F1fFD73D5"
}
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": "workflows",
"createdBy": "cfa8bc2e70d57e2d1050be41",
"created": "1992-05-01T19:50:19.093Z",
"lastUpdatedBy": "a8fcac5dc61c55bdadb67ab1",
"lastUpdated": "1996-06-06T13:02:28.396Z",
"_id": "ce317ebedbdc55c56558aa7c",
"gbac": {
"write": [
"9718980abf61557784d9eb1a",
"fbfe7b5e62c61369038f578c"
],
"read": [
"648387787c25d0f77a7d56d5"
]
},
"componentId": ""
}
}