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": [
"296535b682bb0284e1eefe61",
"77719679f91f2461d7945657",
"7e518db4602001417bb590c4",
"8404064111d8ba14774f7cb7",
"3e5f0fd5849b034e535faf42"
],
"read": [
"b0541485f0222f54a81490c1"
]
},
"componentId": "3561161e8cd9ccd39fd08971"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "e404dd1e77724ce220dc0f92",
"created": "1956-10-21T23:06:03.167Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1962-12-11T12:37:59.009Z",
"_id": "0c03ead4a2980e5193d7fb5e",
"gbac": {
"write": [
"de3693ec5b16e1617fefeab5",
"8e6a8605edd866620ef0810c",
"8a8fb8357e10faeed9d2bb7b",
"bb55019962b0b8adde5dd67c",
"df9ca2ad27fa148952a71543"
],
"read": [
"9ce35d3c17fbcb9b7589ac78"
]
},
"componentId": ""
}
}