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": [
"833aaeacc405919516797c62",
"f9dea974557cd285cea28db3",
"0b40857dca1499abbf50f910",
"544cdd93484313a7c9292806"
],
"read": [
"912a7a5f75f29435ac55b01b"
]
},
"componentId": "9Efdc73d-56e7-Daac-5BdF-1b17aCd0664D"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "c30f8e94856f1aaa866eba04",
"created": "1959-11-24T12:54:38.113Z",
"lastUpdatedBy": "b4b0b9b9ca2f2351d453fe8c",
"lastUpdated": "2013-05-30T14:14:46.354Z",
"_id": "b930bfdb40483019e476009b",
"gbac": {
"write": [
"a65eea32873b9876ef766670",
"b7d6cbbfa9aa2c8e6f52c1dd"
],
"read": [
"d43970b8bba5d835d58f574f",
"3737628adaa8ef5670b0d3e1",
"5b431e2680cee536ad964baf",
"be07823bf9bb38c0dd75e625"
]
},
"componentId": ""
}
}