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": [
"cc4c22b5b48ede19e00990d3",
"7e75429db50b8d7b6caadd54"
],
"read": [
"ee0dd8256fd7d1b5937de764",
"1cd1bfe1c533353c4e563ee8",
"5f7f1d2cc6c92d43e6935f3e",
"ef73027925291d20ca1db0a3",
"4c45edfbba46857a5185811f"
]
},
"componentId": ""
}
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": null,
"createdBy": "fd3e4ef029a68905c2f554e0",
"created": "1965-01-05T22:48:33.509Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1951-12-31T07:17:27.984Z",
"_id": "c8b5e3f5615391b84c60432e",
"gbac": {
"write": [
"5479a9191eaca68b78fce549"
],
"read": [
"0dd2ef3267a0823597ef970b"
]
},
"componentId": null
}
}