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": [
"881813ecac68b8df3d46f6f2",
"864d8c4f0e66ba13e9c0f5a6",
"33f8ddbf2de63c8ab7165e62"
],
"read": [
"92d036ddc25519da4eff10f9"
]
},
"componentId": "d28e5B8F-DEbc-ACEF-BcE0-f1cEFC4Cb6dF"
}
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": "65ce3cbf099a16acae4ad9ba",
"created": "1988-12-20T01:00:29.435Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2008-09-20T23:28:34.456Z",
"_id": "f1e034091ad8a1e83d0f4194",
"gbac": {
"write": [
"35df342b7afeef4b2ecad720",
"11b387ac5395242d16648373",
"58456e588350108a63e749f7",
"479b1f347c46c5738055454c"
],
"read": [
"ef57f9621d9047f7f48965ee"
]
},
"componentId": ""
}
}