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": [
"a417e93fe7d175aa7a860ff4",
"e30f5b89291fe5ebcfd42588"
],
"read": [
"31f15c0774759d4bd8472f91"
]
},
"componentId": "028ab13c332203c3d45f23ec"
}
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": "12a7445265f4d2e188ca2992",
"created": "1970-12-03T07:55:45.871Z",
"lastUpdatedBy": "493e8101193cc07576facc8b",
"lastUpdated": "1946-08-08T04:23:43.357Z",
"_id": "0d6ab8166fbd8e0982c641f4",
"gbac": {
"write": [
"90887309c26abfaa9074b439",
"efd5a9076783f5a750a04867",
"b446be67b232a47ec356f287",
"c52271cb411f8452cc099ec3",
"5b94b5eb192536bdccb97283"
],
"read": [
"8ab195107fe4dcbb9f0145d3"
]
},
"componentId": "1e1d2f6463d06555d94e6c27"
}
}