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": [
"066d3d63587b03d96728c1af"
],
"read": [
"e36b498dd9be97f65dc313a9",
"012f28e8ac058d6ca2743cb5",
"190eac019da7d6582a80dc5f",
"b3daffe06d2a6a0ddabbb2e0"
]
},
"componentId": null
}
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": "1997-03-09T02:07:43.21Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1950-01-04T00:37:30.225Z",
"_id": "797746b39f0f274927d6554c",
"gbac": {
"write": [
"fb91b24190894096df9c97d3",
"1cd74465caedb95d9a42b987",
"3604585a258605c84eb3844a"
],
"read": [
"3438ce440dc5e192c9d5cfe3",
"e3238901b6978c66280dd079",
"43648f8dbbac7e728c7217a1",
"f22f7841f2ee1548fc6132c8"
]
},
"componentId": ""
}
}