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": [
"e84e2e6ed298411666419ee1",
"cda92e686dad5ea73a508f0d",
"91d65da27b6bc09201fd85e7"
],
"read": [
"554fd9063a01b26f5e425f48"
]
},
"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": "1958-01-29T01:35:37.706Z",
"lastUpdatedBy": "535275b8e809e495d8911099",
"lastUpdated": "1993-08-01T08:50:23.115Z",
"_id": "dac2e5f9963dbeec5ad8c025",
"gbac": {
"write": [
"7802c4f51b938c2a594f1ea5",
"c0ee6fb2ef5bcc021a5ed096",
"9fa8c60b9e64c8cb6d206df7",
"f42f6ce19f118aafa89fed8e",
"6ea0613bab2fed7c3a743f3d"
],
"read": [
"b14fbe759da85165c74c2b62",
"5d48d6729373370de8b25c9e"
]
},
"componentId": "a8b0c5af309cf744c8720f49"
}
}