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": [
"d8365f0e700dfa6a17d6f09e",
"bbde09e284c8b31e2700d85a",
"216749f9157bd2214202e6b9"
],
"read": [
"fc1eeb31de3ec34087d8ad4f"
]
},
"componentId": null
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "1971be85bace3202b485659d",
"created": "1983-12-08T03:32:03.641Z",
"lastUpdatedBy": "bceccaf9822f776a862c675f",
"lastUpdated": "1946-05-09T18:11:51.86Z",
"_id": "30b5db6a76b0e5d4b90ae0c5",
"gbac": {
"write": [
"f71efcaf49c90d67f45aa13c"
],
"read": [
"04e2c52959dd37e3839c6b7c",
"86e04fd6bdae21510d71fb0a",
"33a85c8a0951a91b78ab634a",
"2988484d554fdf52fb085c46",
"ce36acc5096a9ffb36594bb1"
]
},
"componentId": ""
}
}