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": [
"51a2c9c4c96189f2a08636f8",
"8f47d94868f04e8e6981308a",
"b9af8851a0927bbb3770a2e4",
"cb53c7711c90a580077933dc",
"7c4fc08fbca374aeda534a23"
],
"read": [
"52b8144f17e79b676fb3ca1d",
"76da275ce7abb6f8c75b14ed",
"fc899beabf638b2cd05a8e18",
"1d9cb0580b158db3ccb30c63",
"736df338d0bafa13b0b6c848"
]
},
"componentId": null
}
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": "3a60c57d8570838126f090c8",
"created": "2018-01-16T01:41:51.595Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1987-02-10T17:31:36.571Z",
"_id": "0f448becfe10cf96a070b1e0",
"gbac": {
"write": [
"eee4d413f33bf7a98410b9f5",
"6a14d20758337ed87e3998c9",
"3d685f3a26da72bcc26716be",
"f8dda80443a612f8346f3391",
"eafc781afb4bb8874a36eae4"
],
"read": [
"30a07bc7d56b7c6f08eb49ba",
"82f5af6c8d8cace329dd91eb",
"36d04825adf52ae18e245bb5"
]
},
"componentId": "285a43b60520df2f0ade9392"
}
}