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": [
"5e7d4a843e40bfcc37e3bfee",
"b280986181647cf785879e19",
"175f523f77bffe0867d5d0eb"
],
"read": [
"1ec3f6c8866ebe1d10301d60",
"dcaacf49692c42fcf3badcb3",
"4e60753016c67f47d7221323"
]
},
"componentId": "e048470c7eed2cc45cfb0527"
}
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": "1966-02-13T19:12:01.37Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2018-05-20T17:08:30.594Z",
"_id": "d1a6fe0a20d053215af1f863",
"gbac": {
"write": [
"7fc89d4caff967d01be73617",
"a3db4c23c46e0355d67a318b",
"7b3323f341979e6cce39eefc",
"b29010bb64db1790dac6d3c5"
],
"read": [
"d69836f132c9fcd901947bcf",
"43efd8ca9460b8da97bb3018",
"e8bb4960d602a8702ab63080",
"775505f51d2b04200329531a"
]
},
"componentId": "d48595f0d83f59f1e023240e"
}
}