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": [
"8f5eb5712a6a561fb140b04d",
"354b8eb1d347098d44be26bc"
],
"read": [
"0cbfbd63a9eef8ccfddbe446",
"da4490620d5d8a82a7d4f19e"
]
},
"componentId": "052b6759ef9e7a17ebf9a410"
}
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": "06dc18486020565d77e66516",
"created": "1999-06-29T19:43:33.108Z",
"lastUpdatedBy": "a4dcda699a9771f66a09b3c7",
"lastUpdated": "1954-02-20T22:12:39.507Z",
"_id": "c24c0a1a42b8d33e5b77b3aa",
"gbac": {
"write": [
"9feaad303cbd5e18fd89db01",
"759bd09cb10ab080b193627a",
"acd86e30d0981653064ca75b",
"97842451aaee29ee2cfe2a0a"
],
"read": [
"bf8171164e0fe81dcffd5f54",
"0b8e4abc8cdf0a54746d4e1c"
]
},
"componentId": "AA272b75-d6cd-6f1E-3c81-D518f683db57"
}
}