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": [
"26fe195e5fd7601c7f4596ed"
],
"read": [
"80b523780787b729a6d3c023",
"ee1067188cbf4be8eda695d5"
]
},
"componentId": "1aa71597f66418cd8ace3c9f"
}
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": "workflows",
"createdBy": "Pronghorn",
"created": "1953-04-17T21:59:35.965Z",
"lastUpdatedBy": "8b21dfe56ba6ca748881429a",
"lastUpdated": "1955-01-08T11:01:12.465Z",
"_id": "4c4d5f663076946d36a956e4",
"gbac": {
"write": [
"1403afda5693bd3446205e11"
],
"read": [
"88b914b6e052e4ee51799463",
"2b0021c6e0ac4493c8a632bb",
"619838f2ac613123c0af75de",
"b2b10639ea5fb96d3e8552f7",
"646fbcccce5bb18e4de92f09"
]
},
"componentId": ""
}
}