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": [
"0ae74c4a6a586ccaa67e8481",
"0d90ff39dd0b9637dbc34ed3"
],
"read": [
"504075368273c91ebb5e692d",
"5a91363a3ec8c603658d94f5",
"02e5ae7a8e69e432d6598172",
"7a486f15713050810ba75436"
]
},
"componentId": "35b5014fce18ee210df20847"
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "Pronghorn",
"created": "2013-01-31T09:15:36.116Z",
"lastUpdatedBy": "d26cff032d866acc414d922e",
"lastUpdated": "1963-12-10T01:04:11.317Z",
"_id": "2d8096954fafdef88000e8db",
"gbac": {
"write": [
"921119c9f565c44e8f02fe10",
"b1c969979b215ece0fab8066",
"0ff901ee2abe35e33b288b50",
"ea398e39702b306cda24a89f"
],
"read": [
"e6612cc85eb33c7f9b0a198e"
]
},
"componentId": null
}
}