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": null,
"gbac": {
"write": [
"5cd71964afce93bf3242de4d",
"aa34dab67d58b054965d6c54",
"1ada9642104ad1a053beca2c",
"a0ea17af31d555fcea098ef2",
"9389dfadaca233d175b352b3"
],
"read": [
"57866dee1a5bce657d40acc2",
"8f60ed4cc2e05fc5d822dac4"
]
},
"componentId": "25b6bc1c12cdfd3f21918f2d"
}
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": "1991-03-09T17:55:12.752Z",
"lastUpdatedBy": "4f6443866dc37ac255de3311",
"lastUpdated": "2006-03-25T00:46:48.302Z",
"_id": "1ccf643fcc96071828b8bcad",
"gbac": {
"write": [
"bc35f2736a51143a8f901e0f"
],
"read": [
"d08a7d408b7ca91f2cd4f9b0",
"e57027dc5ba64359de870bed",
"7c6db6c36c45d8cc2a9daf54",
"700462b4c97e62cf1bd9495a"
]
},
"componentId": null
}
}