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": [
"266188bb1d0edb882cb5d7f7",
"03ce0e4867d68bf8f68e3c6d",
"ba8eda3ef56d98a3d98f1af9"
],
"read": [
"3b9f4807b29ab2e9403f624f"
]
},
"componentId": null
}
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": "ucm_compliance_plans",
"createdBy": "8d85979aeef79437a028192a",
"created": "2020-03-27T00:55:18.703Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1959-01-22T05:16:47.977Z",
"_id": "31bc8d64c2d4f48686a3ee07",
"gbac": {
"write": [
"7084f100390a126abe462ee7"
],
"read": [
"1a082d8909ac84b59b072969"
]
},
"componentId": null
}
}