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": [
"1723640b14c4ac3d29d5c117",
"483b943e9a039714dcd97b13",
"fb1b08804bd500e534044616",
"035b2272102e637b07acc72d",
"c796d467a6e254f1b88b1652"
],
"read": [
"6b81145e22f277dfcec22ff9",
"bf2f57b93497768e7d0de236",
"00d28aac9106bb23bf2d8969",
"65ae6a2fe402e4ba1f61a75b",
"4b3042d13e8f0b7d64384870"
]
},
"componentId": "0610e5f45d57d053c31fb786"
}
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": "b4fea2dc23fa4c203820a39d",
"created": "2002-05-22T21:50:16.803Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1958-08-10T00:30:12.004Z",
"_id": "2eb3a1b6e915743707efc69e",
"gbac": {
"write": [
"844cf7cc53c1b1088a1a63a5",
"56a1b889836fc54b1b248b1e",
"aac6509ff059ae9a4bcf420e",
"4d9f4e34b950e512b53b9a47"
],
"read": [
"d52faefb819a97935a5ad27f",
"a4c25496ec14c981ee8fffb7",
"ec41cddec734aa9790c91756",
"5eaca31872f5af5b4d326470"
]
},
"componentId": null
}
}