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": [
"ba7499876142a9392f605f06",
"38529acbffeef89fd9ce7f2d"
],
"read": [
"1890edb59d6427b57c66934e",
"bc0af5fa58a984851a930fa1",
"268b12769755989f80b2dfcd",
"a7d6eb56fd5f09f5c49353ec",
"87caaaec404045c6f69bd95f"
]
},
"componentId": ""
}
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": null,
"createdBy": "5c13e5b4090e4ed78ca012a9",
"created": "2007-11-27T02:40:46.443Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2007-08-08T22:25:05.971Z",
"_id": "b1118a9fe1e6ca1b44421e22",
"gbac": {
"write": [
"de17a0e5bef81fa12d5fe733",
"d49c86ff1a7709f6dc613a1c",
"00b63de9d93bf446d7df3a87",
"28b6c65ac019b8824100d536",
"c02fe1c3afd15970a3b82140"
],
"read": [
"7d0bd481a82da95dca4689da",
"6c49c8f2366228c3ce5f591a",
"bc58d74322ce4ef0c55c42ec"
]
},
"componentId": null
}
}