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": [
"c9a506eac38778052408b901",
"d8a21766f530c9aedb03e72a"
],
"read": [
"c347c0bbbeef07267ec2aad5",
"8740245e4286fdd76c330214",
"95824c8f6ad4a0af9b4af48e",
"90cba105273b36504a662418",
"87c03b3488d5a354898e18f5"
]
},
"componentId": "9dde0325712b166b80089d50"
}
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": "1949-01-15T11:33:03.752Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1986-08-14T04:17:35.16Z",
"_id": "c269d89fd0802949af967755",
"gbac": {
"write": [
"ab07c88789318de928231cce",
"61ccc232f159b90b9146e6ca",
"5e91ce75bdc71a55ed87d8aa"
],
"read": [
"3408ccd72f9524e81fe7e377",
"f0f084d895cb12178b857d79",
"84dca468fcdea733e23c0011"
]
},
"componentId": ""
}
}