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": "workflows",
"gbac": {
"write": [
"f575f158374b62bd27305d8e"
],
"read": [
"9a0cc59e2f506f92cb7a7bc6",
"3604064cce596d6c8a18d06f",
"20c76e37e395b60e61bd2a8f",
"55582cf3f14416ebb43b35c5",
"1c8216862ec8e641741384bf"
]
},
"componentId": ""
}
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": "Pronghorn",
"created": "2010-01-08T05:22:12.049Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2002-06-29T03:33:34.115Z",
"_id": "2cc48e024641a3d3075973d9",
"gbac": {
"write": [
"1fc42883e4a0c02a70a26a5f",
"d91b3b82f8a105bc2721f0d6",
"07ef71ceab9a2d8bacc6d609",
"b7f4226eab0a87b84b7e8379"
],
"read": [
"85fc99a5a9610eeeda2f0d8d"
]
},
"componentId": "72c0F77b-7e3b-ff77-aeE2-3Ff8a5EcC0ff"
}
}