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": [
"70e720fcf9431f295131b1b3"
],
"read": [
"c75c958afb7c489604d297d7",
"3349f6a26d057956b0611983",
"c2ce5d3ede86751e0e8d1eeb"
]
},
"componentId": ""
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "0fbf6cd30047c87543b9cfcc",
"created": "1999-07-11T04:05:15.637Z",
"lastUpdatedBy": "d9dec1180e782a6b2d05c4e5",
"lastUpdated": "1956-01-03T19:50:22.453Z",
"_id": "439176b0962c2faa230f9101",
"gbac": {
"write": [
"0ffb831c592bb7921beeeff6"
],
"read": [
"86390aa29b7dc8ad247602b9",
"9db140c17d5bd19beb6d149a",
"9f4d00d2b61ed29bdae9d473",
"9ef9a1c9dfb505e871ee14b3"
]
},
"componentId": "bcaff4dedd219e7ca8533bc0"
}
}