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": [
"165c2620ad9879acb1695ebf",
"3e08f58d2d5881c8b7b36e42"
],
"read": [
"1160ebe5bd6889a64a414429",
"b3ae6fb5baeddaa075806ee6",
"f02b39e85fd18f7f3367c2bb",
"5f0d75cfe13f01a313480b46",
"2049a270d332527d4a67cc25"
]
},
"componentId": ""
}
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": "1a71b030d42840eaa27b1521",
"created": "2002-02-18T17:47:13.125Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1996-07-22T05:25:29.016Z",
"_id": "487b98a229ee68cc6ee3c99a",
"gbac": {
"write": [
"4def60710ffcbec35c5f9f67",
"818a43dcfbccdd52d01b21ba",
"97ce11b004516729470572fd",
"d2e14a02ee876f378d3fd0e9",
"590a2065ced961b92db00946"
],
"read": [
"ac93669dedd25b83a090e381",
"438cb6d92422c79d9a039e21",
"f9908ab1b7bf568e47c49a25",
"21cff7d1f41972235588aa44",
"20d00dfe7378680f8cf10f8f"
]
},
"componentId": "e5cbbbb029786067a219b9fa"
}
}