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": [
"ee9d5d88086219efce1f65f1"
],
"read": [
"8a6455bc66cbae240f07ba05",
"3a416edcddd96f1c510d1077"
]
},
"componentId": "6ee1f6b7-9D0E-b2a5-b6C0-E1cEa7c8dC9A"
}
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": "2002-12-26T10:26:26.781Z",
"lastUpdatedBy": "c69d8517a92275048caceb10",
"lastUpdated": "2017-12-12T10:33:45.454Z",
"_id": "59c11bdd0bb3a5a909642734",
"gbac": {
"write": [
"39984e26c8358328ec2bb3ea",
"a038e15ad3375bba893855f7",
"62e1acb8443c57a7ebc1ae6b",
"4dd540573c4bb69478f5cfe5"
],
"read": [
"7f7526bad39160e161e37b1d",
"c22dda2f60fbe7918625c611"
]
},
"componentId": "C721Df6d-ed81-722e-40E6-8a069E2dbA93"
}
}