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": [
"284fed351377f0f7053825c7"
],
"read": [
"53ec9b154adbb7eadb1960d2",
"24f2979e024cb3889dea4fd3",
"ba6719773c53db4e9078d8df",
"1814fa2bdb59cd131a0e710d"
]
},
"componentId": "54d7d48badfb605507fc63cf"
}
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": "492b7ff2504f2e4dbd5d428d",
"created": "2022-05-14T05:56:15.86Z",
"lastUpdatedBy": "411109822581be1a98b553be",
"lastUpdated": "2019-03-30T20:20:21.727Z",
"_id": "e9c01f81d458fb16c6df0e19",
"gbac": {
"write": [
"1f3ccf068ac934eae91712d9",
"b2dcc10cdab540bb78b1cd62"
],
"read": [
"31d311aa703402e372403e91",
"fa61d0b5d01c948df04b8a9b",
"68f5a4f40c00f2a92c01b8bd",
"22beb4cf2d7e6261fcd5f15c"
]
},
"componentId": "d08029c949a29b026a3a8308"
}
}