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": [
"e4e4dfb85ca483dbac3bb60e",
"0a1f0beee3675094b6190de6",
"57d11637df6fec99bac20668"
],
"read": [
"56423c67795fadb1d5b9128a"
]
},
"componentId": ""
}
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": "1962-04-27T09:46:13.178Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2006-04-26T19:22:48.936Z",
"_id": "d7e1d4c8f94e4d1c3e01221d",
"gbac": {
"write": [
"87cfce0683f6b4b877203813",
"6b222f18e22c0d2b5d33c09d",
"e03028c30ef74fc837e24094",
"392d97b3326866e45c75dd3b",
"d24ba6c2f16ebb28a5d06666"
],
"read": [
"bbc09c0c22db9f544c01b579"
]
},
"componentId": "bf88993f958f30f1852b5560"
}
}