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": [
"1544a0a416600c7fc6b6766c",
"67593b79edde717876f96cff"
],
"read": [
"0ed0f7201d53ff82f3bd316f",
"916eb5aa45cee719da003b95",
"bbc7f010a7d7f4d4a1d78732"
]
},
"componentId": ""
}
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": null,
"createdBy": "11c3b54f13fb42d242d727fd",
"created": "2009-10-29T11:30:38.692Z",
"lastUpdatedBy": "5dbac2739b333362e868926b",
"lastUpdated": "2013-01-14T23:48:39.903Z",
"_id": "342cdd8a155c2a8d4df71b1c",
"gbac": {
"write": [
"9d47a8dc01c61a97dbcb809a",
"5effa9ec5e464c8dcab24ca3"
],
"read": [
"94dfd5d333578bb898e8b879",
"78d929ce49187019f573a247",
"37c9a6ec91a936d5418ebe61"
]
},
"componentId": ""
}
}