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": [
"b141669acf55cf9e8da2f353",
"763467376b0b04fd6fe90588"
],
"read": [
"58c2861f72dfb68541451aa6",
"521a811f40c4763d966d4a17",
"8fdd6f253a0a840d17a1b20e"
]
},
"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": "Pronghorn",
"created": "2024-06-17T01:57:56.889Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1954-12-27T02:58:34.398Z",
"_id": "1c07f5f8732cd558d5046d9b",
"gbac": {
"write": [
"7102dc18634b58a386dea39b",
"42f1b3d979220b3179e9cdf2",
"ff302b334b79c4eaff1354a1",
"7a5406ebaf95338e0170c25b"
],
"read": [
"946d3788258e857154bceda2",
"f35a1e8e35b20bfc89f7eac8",
"50b55715d39e95e33ac4fe82"
]
},
"componentId": ""
}
}