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": [
"298694ca88970ba6c1dfa2ba",
"c99ee426d98cc75d33c2e3bc",
"9af7c6d33d6accf2efdd2cb9"
],
"read": [
"fe67e05d0c033f802993c046",
"edee7e074f06ebd3f1d7fbf3"
]
},
"componentId": "dd494e2b31591ec819661b24"
}
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": "ec62b184670844cb7a0839f1",
"created": "2002-09-16T13:07:43.557Z",
"lastUpdatedBy": "7c6fea40aeaef4d6d624f97f",
"lastUpdated": "2011-03-04T21:25:33.98Z",
"_id": "ca89f703e0569f0e77057845",
"gbac": {
"write": [
"deba4dca1d69d0e0b35c73ea",
"3b9171a81f44dc40edd65aab",
"36436aaa9755531ddd4d3154",
"63e6688a3f76880dfe7c218a"
],
"read": [
"9428cca4ca7b34a29f49f747",
"656c42db6885f6f411906e6f"
]
},
"componentId": null
}
}