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": [
"33804ce5593595c20e56434c"
],
"read": [
"4ff856cf64cb8f9eb64d0b31",
"fb195a75d18d9448ca6c07d4",
"1a51e7eda80e4e2cbb5a91c3"
]
},
"componentId": "ee11a2d5a3c9a6581b82bbc6"
}
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": "ucm_compliance_plans",
"createdBy": "b4fddb924fb28f7e3eac9e2c",
"created": "1958-06-13T23:38:01.487Z",
"lastUpdatedBy": "6688638f6636c3a96b6c14fe",
"lastUpdated": "1995-07-10T20:38:24.063Z",
"_id": "119fbd78d2cc562f5e7e4f70",
"gbac": {
"write": [
"82350462c9f6726be839bb3d"
],
"read": [
"8af47e249ebcdea4ad9c8dab",
"b4d1de02c72129e526f69ee8",
"94d877f60143be296f5e9298",
"1d963b8850f7e1b05940d9a5"
]
},
"componentId": null
}
}