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": [
"2004f10d3cb8290f7745c6a2"
],
"read": [
"83dd581facd2b63e8acb6375",
"fb25b21cc7952f2f6fd95ad4",
"771f580ab9c0474c9ff19b0f"
]
},
"componentId": ""
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "Pronghorn",
"created": "2003-03-15T22:58:27.44Z",
"lastUpdatedBy": "a3ecc2217ab1659a3694e3c9",
"lastUpdated": "1976-03-21T01:59:47.883Z",
"_id": "f0cef806193ae410731b5bdd",
"gbac": {
"write": [
"495bdcaef3b0ba03169326fe",
"9a2d4097adce912f17cddcda",
"dd1e440d9a010472226350a9"
],
"read": [
"22adf00297ae310e1c060a77",
"a244c9eb2a5d928d501f9ee9",
"a9fe27522d78971cf0c06b32"
]
},
"componentId": "e49ba381d5431af384de5df6"
}
}