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": "workflows",
"gbac": {
"write": [
"15738b08f60826031713184d",
"c5a97490db2fcb87fcd5894f",
"372dd17a839018be0ef501c6",
"f8b1977197eae7c6cd6ce6e5",
"9bc558e90e91a5702db1c334"
],
"read": [
"92621c5c721a9aded4b744fe"
]
},
"componentId": "dDB0Ab3c-C7fE-Ba8D-6412-afC2a617E1A2"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully created the requested item",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "Pronghorn",
"created": "2018-02-01T09:50:14.071Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2017-02-19T02:33:01.181Z",
"_id": "c613fef9e72804f0917cf073",
"gbac": {
"write": [
"99baa741420c7464ab1d60e3"
],
"read": [
"978ba5d3647fb00835e2710a",
"bf8b71f425e6165b6de1872d",
"8ffd71a283824ca67de5df60",
"35e3348c855e5786bd38c2a3",
"7502afb242890f96bafd34fe"
]
},
"componentId": "65be4354cc806f6be584b705"
}
}