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": [
"cebdeaa620da3de5ca0fa3ce",
"23435d5b665931666fd04c94"
],
"read": [
"f4c6a370931231c6317bedf4",
"64647800899dd8778cf4c573",
"4230227802f6a3fabfe79330",
"d143bfa653936f991ff7893f",
"3f8b308ad0f728687396ce08"
]
},
"componentId": "91f6c2c87073dd1a4212677c"
}
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": "1951-07-22T15:26:27.727Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2022-05-03T15:38:18.519Z",
"_id": "5a656df78e0378df8513fbbc",
"gbac": {
"write": [
"b397796bc61b0e0ae0af5e6f",
"d14f07c06d627e3e6e61c460",
"9f207971add99766e3bd3b88"
],
"read": [
"d9dce5843d8c18552319f2c7",
"7d2c7076256d37628eaeec0c"
]
},
"componentId": null
}
}