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": null,
"gbac": {
"write": [
"dfd9fa15dcbcbe185b36baca",
"8b3eb8c3696eed3ee9400d59",
"7d0df18a8f07565f0a6c2de3"
],
"read": [
"c0b34af13176a7559ae17d6d",
"a24457aea960f1e07dd341ce",
"1f177a6ac4d77f6e4d98552e"
]
},
"componentId": "06efca6a24cd4f6aa3a11c7f"
}
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": "Pronghorn",
"created": "1976-08-06T17:04:36.575Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1980-02-09T19:27:01.286Z",
"_id": "71f093fb30eef5b5d0f8f8c9",
"gbac": {
"write": [
"575c64e11edf8e7406726b55",
"fa4fa06b29128c59c3682540",
"4147c7907e5fa94b99a62328",
"661c6b1e70cb1e688eca5dbb"
],
"read": [
"e5d2e88fae8a72c664d02e25"
]
},
"componentId": "c13a864874bf38c208dc0eaa"
}
}