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": [
"18a87c4794afe8f0675d4f95",
"31564b20c20d58cc66062549",
"47453943d2a73603ae9d7c93",
"9a7a881aa07a10b7970e857d"
],
"read": [
"3a1db4c0247bbb8c138c59b9",
"168a3dc012cda827ae0f82dc",
"01721a3b9b53a6bced1aebc1"
]
},
"componentId": "b2bf6fad9ce835264b433281"
}
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": "workflows",
"createdBy": "76c20f85f767ab85a2f2409d",
"created": "1954-04-12T04:15:39.547Z",
"lastUpdatedBy": "1069fdf130df95db8ad5ae15",
"lastUpdated": "1946-10-17T20:12:28.261Z",
"_id": "e63c53bd32215500d7be145b",
"gbac": {
"write": [
"ab5a36b0369f6fac9e6ea1ce",
"06457f64b5df24c4b7a78a7f",
"e31fc295b0bd6f275bd0d19b",
"ef9ac1cd6c6020d385ebb6b0",
"9597e906bb52a726e4d338b1"
],
"read": [
"ca5ab4c7fed09d3cf89518a9",
"4d2cf2c407dc1d3d0978e3f5",
"c9847a2b6f7ed59f086b9a4c"
]
},
"componentId": null
}
}