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": [
"c4e0f00c67904d1e67ca702d",
"9c42b58549192f684256f9c2",
"642c2e7aaa4ffad02bc5ad1d"
],
"read": [
"52d9d8c51dbf4eb95bd5f26f",
"6dec5b0ae7ef40845bfe339f",
"ccc4fccbd02e4f65fb9c0836"
]
},
"componentId": ""
}
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": "workflows",
"createdBy": "Pronghorn",
"created": "1978-06-11T12:07:08.289Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1996-07-10T01:32:19.475Z",
"_id": "30ceb24500ab4fe178a7fb07",
"gbac": {
"write": [
"163a63fb6298856a3683a5c7",
"dc1519d9902d4de8a544904c"
],
"read": [
"d65a35167b8bedcccf49a9d8"
]
},
"componentId": ""
}
}