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": null,
"gbac": {
"write": [
"717742896fdc160c30db29ca",
"bb86834e2e51203964f9a1ed",
"978df916f66a8f6a3cd0fb4f",
"3aa7b647e9fc84669e56d65c",
"a5fe56ca94ab339e1e41a9d9"
],
"read": [
"f7c2b42c192267240c3bbc30",
"767c04fa54147d07edc6fee9",
"61c3023d5e175adc2b4436cc",
"147b21425ac0951bdf139ead"
]
},
"componentId": "C47A2fc3-0A27-2bF5-FE52-eB2ad4aDc7bF"
}
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": null,
"createdBy": "Pronghorn",
"created": "2009-07-10T01:56:26.039Z",
"lastUpdatedBy": "abebec851f387de57072a28a",
"lastUpdated": "1978-11-09T00:27:30.229Z",
"_id": "ca9067a9de6062cb35e3f9fa",
"gbac": {
"write": [
"5de875a82a26b8d52fdd46c9",
"485360d29bd0e14bf1c66697",
"fc7634a19f07daef98c77a90",
"051f5ffc2e67c56553d4b93e",
"668f0fe064304d54a1af5993"
],
"read": [
"652f0cbbba35d4eaba137160"
]
},
"componentId": "DbBADBeD-0dD1-88bA-d1c5-Ad6502da48cf"
}
}