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": [
"644f34ea2e6511fc63b816fb",
"7a790634672fd3a453a9df39",
"bccc274269c8840ae8d70619",
"91f0d6864e0c3f991e9eeb3e",
"a71eb269c095c5df14cfe559"
],
"read": [
"cde9d31380da2caece3b0dbb",
"c5cbfdc9ccffd27a002024f1",
"b90526764caf21d956370e33",
"6b987bf05cb673485f9dacb6",
"3ed81366f6d6147971284d41"
]
},
"componentId": "7573d7b8-C23F-653B-Be65-A88B227704DC"
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "Pronghorn",
"created": "1967-02-09T16:51:51.756Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1971-05-21T22:34:17.295Z",
"_id": "4d57918d0005adad2d27b827",
"gbac": {
"write": [
"d9f43a6ae790fb956036d8ea"
],
"read": [
"d92bac78a00ff3a90cca3639",
"ff1697e6d9bb53d2af744dcc",
"0d851f01bf23378fbba8664d"
]
},
"componentId": "144004ec-5669-394C-5Bb8-83BbE890D187"
}
}