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": [
"46645768be65b120206ea970"
],
"read": [
"9abd104c0023560747185dac",
"84fc9deb6b342e39a06bed4b",
"8f0772cfac39b1e99933a722",
"96612d7292460d4c9d050573",
"979bb8451baf990b1d70bf48"
]
},
"componentId": ""
}
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": "1949-06-11T03:22:43.972Z",
"lastUpdatedBy": "b6400be8dce72fbf57553dc5",
"lastUpdated": "1960-03-06T19:35:57.912Z",
"_id": "d484e20e5a66cb213dcf4432",
"gbac": {
"write": [
"dd3f1bd76ec619930377a376",
"031293593581bce08149b122",
"528a89ef922a1bcf6924bd68",
"f08bc83c9011436199f92692",
"c2227aa86cae1f49a5dd875f"
],
"read": [
"8ae1dacf0daf0c9a8363d76b",
"9b838ac3fa847008ebd2a59d",
"a2a4b0b7ed45bd9d72ad5d61"
]
},
"componentId": null
}
}