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": [
"90044788d29d59b18505ffac"
],
"read": [
"fd2dd2251135c1b90980b4c8",
"c7abbd6cd505884beca2f395",
"ceb03b0396e8165d209303b2",
"247f419801610e93d37d0dc8"
]
},
"componentId": null
}
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": "dda26bb56fe6cb2e11525c15",
"created": "1960-08-07T19:01:47.232Z",
"lastUpdatedBy": "9f5a3c62c732934aa43e6fa8",
"lastUpdated": "1973-11-16T12:13:56.413Z",
"_id": "8ef73cb68b807c0a67dd37a3",
"gbac": {
"write": [
"345ec554fd12aa4ad11e5497",
"a4904d4748c61893aeda6637"
],
"read": [
"e03ca345465e0a88a9e71909",
"5ec61aaa55d41a76245ed94b"
]
},
"componentId": null
}
}