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": [
"c787d96b619fb24bd58ac17b",
"f1842d0cd3e50960ac7f05de",
"e27aeb5b975b0d34988c1ec5",
"5d88544a121db4a7df0dee3a"
],
"read": [
"c02d63ac534d325ed0504aa0",
"85870f39930727679c76fef5",
"9b82e701531bd26fc45c5853",
"da7529eb57a0f13c58fe482a",
"adbdac654d83858720d55b0f"
]
},
"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": "workflows",
"createdBy": "Pronghorn",
"created": "2014-09-19T12:17:50.831Z",
"lastUpdatedBy": "a73f8efbbe4448c1dc5de4c7",
"lastUpdated": "2019-08-02T19:03:22.487Z",
"_id": "cf84fd9e4b81224b87283c0b",
"gbac": {
"write": [
"0df5c84295ffd8fc1f7afbd4",
"ea701d4bd23621e892e9acb4",
"9c722ce42b0fb74f740e1115",
"76bc60757ba2d46ca4a2f1cf",
"05bce9175d3175f65467b404"
],
"read": [
"4d2cd43e9641979440e0d0ab",
"c8b6fdb8973aed94cf89531e",
"4acde1823a287f3f06df4673"
]
},
"componentId": ""
}
}