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": [
"38754229b84bf0864b20fe8d",
"9ac1e6fa24cbaa2290d0fe4d"
],
"read": [
"f2ddfbd636ac69132ddc9b48"
]
},
"componentId": "743eA6E3-0Ed8-827E-1941-C6FdDdF75C34"
}
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": "4f77eb7306e3a64c8d0213c0",
"created": "1967-12-11T20:15:20.674Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1987-08-10T03:38:42.972Z",
"_id": "20a9017219083e37d81fbc9e",
"gbac": {
"write": [
"623d2125938edcd3b1ddd9bb",
"8e78d98ec57cfb09955c9a26"
],
"read": [
"67699c6c91f6e87c4a083d85",
"47ac3254173dc6f3c2f81ef5",
"0cf0ead8239d2cecea173c3c",
"3211315f28cbac922d03dd8b"
]
},
"componentId": "Ab59453a-06e8-afDA-E624-E713F4dC4Aac"
}
}