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": [
"5b7f2210836117ea377d416d"
],
"read": [
"be43ab93d9ddcd9797c3dcd7",
"bf528397ef739c96418253c0"
]
},
"componentId": ""
}
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": null,
"createdBy": "dd7808734e41e5336e30d8ea",
"created": "2023-02-02T16:56:25.929Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1986-10-19T21:10:19.134Z",
"_id": "1de5b8fb54f77d51be385f59",
"gbac": {
"write": [
"c5307a654e7f94f46090528f",
"a8d07e3684baef509307580d",
"244d225489c3ec06a5096509",
"a7c8fac0344d3a2a35877469",
"2dd8dadf644ecfca31441b38"
],
"read": [
"8f76029a380988e0ad4d1372",
"dd6ac52666a6f7b183e19fed",
"04549fa56a8e57c27ca47c1f",
"9c8c5a58a0d026015e2394ad"
]
},
"componentId": "27319b0c748613ef13e59850"
}
}