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": [
"ff41bd968f7ac1febd3f8d9c",
"c5b6640d30dff19322027172",
"1058011291164585718fe59c"
],
"read": [
"9d4fd404de38c56db420c38f",
"cc6de2c4e5d9114dc28a7a58",
"d226f1ddc111f3a650382b90"
]
},
"componentId": "f4ec09DA-1EFd-Cc7f-D0Fb-8Af18e99A33c"
}
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": "Pronghorn",
"created": "2010-05-02T06:06:36.579Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1999-08-29T21:34:15.958Z",
"_id": "8905104f9e932edd5facc1e8",
"gbac": {
"write": [
"73c8019e4415d3e768a840d7"
],
"read": [
"ce4259a0389900b0be0d1a61",
"dad1f16153a0bfa76163e9da",
"05c95dfb9d23a3b520a6b1ad",
"16766b801796eced2f69332f"
]
},
"componentId": "A4A4Ae66-4c3c-C05d-67Cf-be7848996Df6"
}
}