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": [
"97bca3bc2527d1e507b8764f"
],
"read": [
"7fb896e81247c9cd00ca4fc6",
"030ae838549f2d79b7fb954f",
"f7d28f56e04fd5af238aad11",
"ebd32db988a758eac870c3a8"
]
},
"componentId": "2675e31c28d9034ae281e8ef"
}
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": "workflows",
"createdBy": "Pronghorn",
"created": "1968-05-03T18:34:20.338Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1952-01-11T20:52:33.038Z",
"_id": "dca54e872bbdc03cfc4ed84e",
"gbac": {
"write": [
"d9bfa7c5b9fe66d16f2eb67c",
"1fbaf589572f7dd4ff46cfcf",
"c764b8c6888c43f14c0aebae",
"7c0df76ef33db80568fb3ec1"
],
"read": [
"e86d85639a40e4bccc937816",
"27dc0205790632deb4a4a5b1",
"b3be725d85d6097825c31c3f",
"32768508d0fe50999abb19fd",
"0f2b3323c966d2b1ec125703"
]
},
"componentId": "95DDC12D-BadE-9a67-FdbE-fc3d68cD9c5f"
}
}