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": [
"8d372267a14b9d35ad853a81",
"d1dca26945f391a353308a32",
"b3d5a2ba7a3d69a1f4a6d294",
"f107c363c32388bb3397a45b",
"b2cec9ad031942f4c777e465"
],
"read": [
"97628b203966e09f144670d9"
]
},
"componentId": "a6afAe1B-614B-Cace-d1d4-DA5A38C25BBa"
}
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": "workflows",
"createdBy": "a064d29b3506c8f35f1bba7d",
"created": "1992-12-26T04:47:02.628Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1973-01-08T13:54:00.35Z",
"_id": "00f3e9a1c2c78b803e411ab9",
"gbac": {
"write": [
"330a9a8c5d85e520d789390a",
"fdcf2859cb554101321f4006",
"40a74be5d423e0d3855cf811",
"0d948332df3fe74a52bf9bb2"
],
"read": [
"610f0cbd4c2bdcd6d41b9a3f",
"c6573724922b519bddca7f68"
]
},
"componentId": "fb5CDf6b-d7bF-AC50-eFc8-F3cec6cbbae6"
}
}