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": "ucm_compliance_plans",
"gbac": {
"write": [
"b6d0f3ca1e0454f9bba16739",
"fecda4478c0633fdffd7ebb5"
],
"read": [
"af84ae170f1c150ddac6cb34",
"1b6385e12d42c8809ad755a5",
"821d0ae777eab48142071809",
"107efa279908c10a67e84998",
"04ced265992c537bf620725e"
]
},
"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": null,
"createdBy": "dbea11ac721bf403362f7d8c",
"created": "1955-05-09T08:36:27.605Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2024-06-12T20:36:21.914Z",
"_id": "41a58438636186a6ab2a3e38",
"gbac": {
"write": [
"8827282a1fe322bda9b9af03",
"8287b65437b66fdc262844fc",
"1266522b0cf47ffb5bf93a8a",
"ac01ae58d484634334aa3bfb"
],
"read": [
"b119745351edf0b04b86f1bb",
"cfca7eb96ce2ef64423b11a7",
"8680bc04796b36a0725ba49d",
"573959d494a47d3465f46a7d",
"9779292b40aaf5acdb52706d"
]
},
"componentId": ""
}
}