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": [
"083886497ab8e15f8b317a37"
],
"read": [
"808d03df7a3c59d068489795",
"53ed2f980d54b8103c1c60a4",
"a9662c9eb64258f4e528a911"
]
},
"componentId": "00f42b15ee57687ff8ca3e58"
}
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": "workflows",
"createdBy": "c12ef696f0e9e73a34f8377c",
"created": "1985-02-25T04:10:20.664Z",
"lastUpdatedBy": "f77337b92e67055074c180a4",
"lastUpdated": "1962-10-15T13:39:16.727Z",
"_id": "63855d181047857f2b7700ff",
"gbac": {
"write": [
"7dadeb10a6350aaad7d00e04",
"38ecbe6cd67a3cf6917e6bf6",
"830df5f9a056791351037a5f",
"783ed737ff7417d0b47c56ee",
"f89cb1723e29bb938f48199f"
],
"read": [
"50cea98edeb6270aee6f962f",
"d148563ce9717560c71949c8",
"f05130d463b7d27f7dbab97e"
]
},
"componentId": "Db300164-370a-1f8c-a53C-1Cf2e9ad96bd"
}
}