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": "ucm_compliance_plans",
"gbac": {
"write": [
"c50252a2863ca4729b920adb",
"e90a7357f8143cf2a2473199",
"1ec13f9588433284811db835",
"a1b75c65b48a76b9c54f6ebf"
],
"read": [
"f0bc0cd712bb50a3ea459699"
]
},
"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": "workflows",
"createdBy": "Pronghorn",
"created": "2002-05-15T00:11:41.8Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1952-07-18T20:23:17.05Z",
"_id": "a1892f6826be0c4b887ba030",
"gbac": {
"write": [
"c2698d3f6135979d9dfc1935",
"a8182f1a9334445db4bfa219",
"037da695e927b6661f0f9717"
],
"read": [
"693b735622f2bbc231e2437d",
"4a8b97a889c39c514758c4b6",
"b2deed98fce35c58f319c22e",
"ebe3f51b05e9d9800cceb900"
]
},
"componentId": ""
}
}