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": [
"369c730d8e3b9f5b73c20d0e",
"6c2189375768b90ec68b76b4"
],
"read": [
"5ab71e3d9a7c57bc2fd39293",
"db7a3aa8e6ba6f6a9215e825"
]
},
"componentId": "fA19EbAf-8CfF-063B-C38E-b438abD7B5C4"
}
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": "8209d7aa16b4965551a66c37",
"created": "2009-10-29T05:11:50.619Z",
"lastUpdatedBy": "a82b705ec0f8b407334d2d0b",
"lastUpdated": "1988-04-19T17:03:27.174Z",
"_id": "77d845d1ced33e178af2b9a6",
"gbac": {
"write": [
"ff4acd3766abc1aff226ae14",
"639262737422cc0d5c7afbfc",
"bc630170af22a9e404639e0a"
],
"read": [
"cc9c27fa8c94ce32ed3270c6",
"7312e89168ec8bd23680b352"
]
},
"componentId": null
}
}