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": [
"d6c901c6b455c41b9c43e17d",
"0a92c4bc1d61307ee72c33d0",
"551ec41bfff85e54f4f06f81",
"63f932149b3d8f1a26728c5a"
],
"read": [
"ec9a0d6dfff7f69aae6ad651"
]
},
"componentId": null
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "894d40a4e6b4288abc105e7e",
"created": "1949-06-15T01:29:30.295Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1992-06-27T14:01:54.216Z",
"_id": "3299e6acf7d6e02e7f403b35",
"gbac": {
"write": [
"81a8a69d2927b14765f17bc2",
"62678689042208d3d2686139",
"81b98a4685fb1ac154bec9cb",
"1c2d5f852a0652b5720a36d7",
"f4220030592f7281aed0433c"
],
"read": [
"f5ca19311b05b705db8ec754"
]
},
"componentId": ""
}
}