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": [
"6b3cf7326fb847399a69b650",
"1e904ee9cf9df26041195ce1",
"28d19024d8f147ac472c7089",
"19674478d49b2f9eee0a1e22"
],
"read": [
"5ce91c6c4d0cefeafdc15049",
"922440b3dc44816bb353eb81",
"81b1ba34e24559d6fba4143c",
"9ad530757760258740533ecd",
"64e02c93fd0f2ab6a7f039dd"
]
},
"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": "workflows",
"createdBy": "a66178d70b1d3c79d30a16fc",
"created": "2011-10-20T21:14:42.155Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1989-06-25T16:30:10.982Z",
"_id": "c943daff52fc9f88d79681dc",
"gbac": {
"write": [
"2641ef9025e85757433176ee",
"60ff222b7467619fe76c6122",
"b392e8776c421716f9f2efff",
"7c89fc7b9d5e87c5afaec823"
],
"read": [
"7c45c3e03b7d87af2f9bf13d",
"507722a6849e5e6acdd30454",
"c7fc65695729183d9f3ddd6f"
]
},
"componentId": "0cc08a9bf57b7b08b6de484f"
}
}