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": [
"9fcc6e7abfeea39af507e71e",
"c02a3465198b6f0d4a8e9d1c",
"3eb98b458bc8f89bf9a36412",
"c8e8813616b2f3de9a206912",
"828ecaf70bedfcea18558150"
],
"read": [
"6b301767e7a2ddd1332e7b22",
"fce84b76ea3705fcdb128be9",
"ef4c2f58761b8e298622857c"
]
},
"componentId": ""
}
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": null,
"createdBy": "Pronghorn",
"created": "1961-12-17T05:20:29.257Z",
"lastUpdatedBy": "fbe0127e9912007e455b2b0d",
"lastUpdated": "2007-02-24T10:24:38.923Z",
"_id": "a4174cadf90dd2b725a0be75",
"gbac": {
"write": [
"47154bea01e4eac78cc5ea94",
"f252794a1ea8f57f5d95420b",
"c0d16205e328f4b97d47b0e5",
"296b74a68cf79c08e57f4fbe",
"b282f5b393cd1060068cea8d"
],
"read": [
"3a644aa522b185275c8c3231",
"f5e7aaa69111517f4adf69cf",
"064ca1f5b0c49550b41bb1e6",
"e15212e72eecf32013d67700",
"7b635f90d9312a188a05bbfd"
]
},
"componentId": "8Dc8bac5-A3dF-e29c-fc1C-15c51cF8Aa52"
}
}