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": [
"2b41dd7b1a0393901eb07f17",
"33086cb26bc3d94ae99140b4"
],
"read": [
"c93e6d37d4b5fba2005db2c0"
]
},
"componentId": "806C2c7f-5222-9DcF-2FBD-BBC75C015A4c"
}
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": "1997-06-28T06:42:42.067Z",
"lastUpdatedBy": "b65f0aa4376061d7557c01cd",
"lastUpdated": "1985-05-25T02:39:56.988Z",
"_id": "a92b57f76d573c1339628279",
"gbac": {
"write": [
"804b76ba4441bdb3cbf1bf46",
"d160b0c428770df96a7e2f22",
"d533b24b498da2307663531c",
"6b2dadf34916cabe1523a9e4",
"3b8700b9c8fb95bc9dabc327"
],
"read": [
"aa5f88489f620a4e7a6af7bc",
"7f7f3ad7a6fb7a1370c040ab",
"e434b0f9e26aea5120bf6c3c",
"b85c495d546181be47300cdf",
"12798e29f607f2841fb5c2fd"
]
},
"componentId": ""
}
}