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": [
"99a56b0c3232ba8b4a70e37d",
"86103e6a04ffe07e8bd689e0"
],
"read": [
"136fcf8663147a6b1fb365a8",
"f237a78902d06ab95f4e190f",
"c89368c0db95e6771810ea7d",
"71a402b4e036714ec7d20b5f"
]
},
"componentId": "74F22EBD-0AA8-9d7F-F91A-2D7809af3B73"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the update operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "784debb87a42bd635999cdb3",
"created": "1993-08-03T22:51:28.176Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2007-02-16T16:36:39.007Z",
"_id": "d239cebc93730c8829600eb8",
"gbac": {
"write": [
"1d1395f52cf77d29b886c0a8",
"913a06e0bce169f254741749"
],
"read": [
"8c9d1455864dbfb951510f9a",
"0ba85b6804832993d907997c"
]
},
"componentId": "5dc34beefeeff510f3d77afc"
}
}