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": [
"e2ae46fe5ad0615eccfbcd2d",
"98e1e45ce6c1a856b555c8b5"
],
"read": [
"7730c3db12a72f38221e354d",
"95a1672a85f357dd991a8ae6"
]
},
"componentId": "3Ab7BcF6-75c3-Fd45-9B02-09d9Ec6dC1b1"
}
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": "ddfd4be10aa86a9691a2b6a1",
"created": "1973-08-11T13:03:32.343Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1983-09-18T07:43:26.922Z",
"_id": "0bc3943724d4064f5dd0b133",
"gbac": {
"write": [
"f1ae92c1fdf31a5126c3a426",
"0d158e042f627a5bdb2e40bd",
"73849da0316d9733ef72ad40"
],
"read": [
"ddb89bb998665356a99bd674",
"fcd28d21b92cc6fd46178654",
"54173499ab7be2469dc10d91",
"879fd2fa4f45ccf0a8cb9fb5"
]
},
"componentId": ""
}
}