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": null,
"gbac": {
"write": [
"0d0047bb85cae12e6a63e521",
"9e4cb8007ee1d5b1a8cbc016",
"f284c7799a525bcd29876a89"
],
"read": [
"2efc44465adc43408c6c0ebd",
"0aeac079fed3d5549ec23c06",
"d0a4fa9ffbf21a4015090336"
]
},
"componentId": "2d5b94ee69043bfc7c3457c8"
}
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": "a36c13b3fcf78c2eb8915ec9",
"created": "1946-10-04T21:00:18.881Z",
"lastUpdatedBy": "8802e745bd5c813091b834dd",
"lastUpdated": "2002-08-31T09:28:18.735Z",
"_id": "a2e849f31a55138c65bf525e",
"gbac": {
"write": [
"2fe56e0dfeb3daf5ff7e8e45",
"38356c349c9058e0ad065f79",
"8fdcdcaa03309ca899c29a02",
"e1d59ebaa60781fe74e69fa9",
"da3e205cc0fa2c1f7db6e889"
],
"read": [
"8a75d489a807c9d8b434de83",
"9fdafb09523e2cc239539e39",
"c76f3254e15a77a9a399f865"
]
},
"componentId": ""
}
}