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": null,
"gbac": {
"write": [
"8cd43feedf8a448147547d7e",
"af35607fc29d6325d2e401cd"
],
"read": [
"f3a155d69fb9dfd61e8d5655",
"c93166ae7bb0d6dba03c9780",
"d48e80b1aee3aea29578314b",
"727134a7564b4f231ced355c"
]
},
"componentId": "0efe4d156c46c4ac1ebded72"
}
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": "ucm_compliance_plans",
"createdBy": "Pronghorn",
"created": "1955-05-21T12:50:11.621Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2011-10-21T05:45:42.16Z",
"_id": "ccffcfbe11c95efa526f3a0c",
"gbac": {
"write": [
"5bcd1ea8da9b990a8b328fc0",
"d2c87974dd48103279a8538a",
"d59e698422022b115125725c",
"aa8d01bb2af252cbbb205a03",
"d7ab2f960dcab87fee32e7b8"
],
"read": [
"173486f81714a0d3a7c5ec3a",
"062a61d4ec2628f49fd3f587"
]
},
"componentId": null
}
}