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": [
"00c62a64a10854bca6417eef"
],
"read": [
"c7860a9bbb3ce57bd8b77207",
"8ad6d59d6404224a294ad8c6",
"ca3e8a0ed8c90f9126782b34"
]
},
"componentId": "cF8B4934-EDDC-683E-eB1F-A845d3abafFA"
}
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": "2a6e47cd19037db44c263c4e",
"created": "1986-07-11T00:47:26.447Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1988-01-01T10:19:18.432Z",
"_id": "640db6d41a9269192f0302b1",
"gbac": {
"write": [
"848fc13c4d6a7870a8a2a535",
"9d77269a4b8cb03695a0cc41",
"7d15e471ba04bae694056512",
"097b23c0a9fa18f7d3c25cdb",
"f320578ec8fecafaf73861c9"
],
"read": [
"76c1596f27180a8596a3af2a",
"9dd540c7e48fdbf519d46ccb",
"c5c45bc5d5c8c7772535f39a"
]
},
"componentId": null
}
}