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": null,
"gbac": {
"write": [
"7bc503abd26a2d9a1561d610",
"5cf119571b080e16a3a8e7ef",
"24bb3f52c2d6ac1a37820582"
],
"read": [
"af17a6887daaa52894b934da",
"d85b878ce0bc30643e7fad90",
"3b3a24b4c53f357af467e75b",
"e485dedf73bf916dd098d0d9",
"d721c726dff9d3000fc38932"
]
},
"componentId": "7A24EcE2-9f91-a0df-eC5B-06Eed34cEB11"
}
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": "workflows",
"createdBy": "5cfcde5d3ffa9ffbb6539e4f",
"created": "2016-01-19T01:51:38.382Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1951-12-07T03:01:31.78Z",
"_id": "ae4855b8e78c87ddea36607b",
"gbac": {
"write": [
"6d0057dc566fe89dd5cf0f3d",
"50bc719214951c715425bf43"
],
"read": [
"1dafc4faf7d859dfd3893caf"
]
},
"componentId": "51d9710aad89700595089956"
}
}