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": [
"cef86fd443aa7a4e149f8472",
"54c3c3d4c28b5c6e529d38e7",
"e5488bf61e8eb940aca09132",
"36bbc8c3f789ed18f6ecc436"
],
"read": [
"7eca7907f29aec4da1f1abc9",
"3ea9edd7807f801e32e87b00",
"77534008f4122f31122f8717",
"877fe478892e35b9aca33723",
"fbfbfdee7a7a84cd9432d0b4"
]
},
"componentId": null
}
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": "ea96c8d56772f70e91d8511d",
"created": "1968-05-31T22:30:30.802Z",
"lastUpdatedBy": "be8a1b6748c980e3aa6b1e71",
"lastUpdated": "1961-02-28T01:54:31.28Z",
"_id": "ba87fd4389512c289e190ccf",
"gbac": {
"write": [
"29fabec4baad7aff13f9f44e",
"fd29a73dda0abc36b0840b07",
"155bf0a06150464afddad662",
"897316d487ea2d5aa35b6e37"
],
"read": [
"1867ecbfb1328537ae5cd225",
"f46da9bfe3b019f14707d17d",
"96757eb54564b015640dcb3f",
"3997296035f8d606c630862d"
]
},
"componentId": "df8f52f283dd5eabeb620d66"
}
}