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": [
"41028d9637b73dceb34767a4",
"40922710256dfbf1ad51c123",
"3f3d1997663495a98db79181",
"b0f4e4e69f57fb95edc84270"
],
"read": [
"a6e69261913b9d486970c1ef",
"8328ecadd8c37c296315a343",
"128d0fc5059b94896b357deb"
]
},
"componentId": "43f364d64a7c5fb64e65621c"
}
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": "24af89e07533460a5ea672a4",
"created": "2011-06-24T01:40:17.132Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2008-02-18T00:36:22.758Z",
"_id": "5921de7b64db81f457c5c654",
"gbac": {
"write": [
"edd298c7cccce6521fc6cf2b",
"c6ea617fdce6a9c3b4060e68",
"038ad68eb2b91e72d22fad6f",
"3305cf906b895410e189bc07",
"50318fac6da836be474e44fa"
],
"read": [
"16626162102c42268bd96c91"
]
},
"componentId": ""
}
}