Summary
Create Automation
Description
Create a new Automation.
Route
POST /operations-manager/automations
Roles
admin
apiwrite
engineering
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
automation |
object |
yes |
The details of the Automation document to be created. |
Copied to Clipboard
{
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "ucm_compliance_plans",
"gbac": {
"write": [
"9daf210e1c19ecc969136036"
],
"read": [
"21fee37557b88df6f1768bef"
]
},
"componentId": null
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "08eec1197bb85c2d5cf126c9",
"created": "1990-08-24T18:36:42.78Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2024-09-09T15:14:35.909Z",
"_id": "414e60d1caf3901d55f8ab5c",
"gbac": {
"write": [
"d76fe398652f6eb968b55819",
"f685f95bd6745d78cc6169f8",
"ff46ff8b29497002696737f4"
],
"read": [
"ce866f1553d2c5e51a79ab70",
"c6eeb4986186863cb003535b"
]
},
"componentId": "45b361e2ed50eff3165fa1f6"
}
}