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": [
"66c3fa3fde898c2b5aed74b3",
"7d9a3aab458c62fcf2ee78fc",
"69885adafb46fbdbf2095cf2",
"49014187a5ada2c023dbf3d5",
"6f563c09f10570c254f37e5f"
],
"read": [
"804b6362085c38ce25ccbca6",
"d5ed07fcf3d5a3ff373bb20d",
"1618bfd354b85dc19a451fff"
]
},
"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": "2012-11-10T23:54:10.995Z",
"lastUpdatedBy": "9d78d5ddd277099a49e4d67c",
"lastUpdated": "2017-11-22T09:47:26.238Z",
"_id": "787466ae5daaf57db93eaa38",
"gbac": {
"write": [
"e36b4f51b5de4eb4177155cd",
"08920296bd2f15921566ad5d"
],
"read": [
"a605713fa5f25d7948d60f08",
"52b6f49f577e5f9a59e1e3d5",
"cba25accebd74647d2dd29f8"
]
},
"componentId": null
}
}