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": [
"3263ca5380d14ebfbecde5cb",
"ac2ae3693f9ada8ca8408114",
"e57a6b83008ece1895708bd4",
"cae5853d4e9369615bba9b43"
],
"read": [
"0d2cb8810638a39b20887613"
]
},
"componentId": null
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "Pronghorn",
"created": "1966-09-24T02:30:55.924Z",
"lastUpdatedBy": "b67427dce0d51cfdf7144a3f",
"lastUpdated": "1974-11-12T04:59:30.072Z",
"_id": "383534a2d2808932a7fe7480",
"gbac": {
"write": [
"cb5c1a85c280efa1ebead4b3",
"2106e39a63631531546d1241",
"ae692b8963043ece5e58620a",
"50eb11a6295ba1521e06f2db"
],
"read": [
"fac6c57819e5a62bda0de235",
"c7f429a27084456f3d9ab2eb"
]
},
"componentId": "8A6c3457-2eca-FbAc-4FFF-8BdAa8f922c3"
}
}