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": [
"0d3a0336d190b8e845c2a0c7",
"721d815400a54e2db02962b1",
"a770fba5fae02ef5bc4206d2",
"7bba13e270f624c12d15c8b5"
],
"read": [
"33c46cdb39f647823f9428b5",
"ba519362d6cbf59be085375d",
"eb621792b4910eb77db03c50"
]
},
"componentId": "37f6934968ba60d50aa3eef5"
}
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": "acc3434fd4e2bc8f1c0c133f",
"created": "2001-09-20T16:04:22.356Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1962-09-26T06:55:12.249Z",
"_id": "a27412091ae9369d53d37fb9",
"gbac": {
"write": [
"3f12dca809f4e1b71180e1df",
"b4434104da32cc45eb2bfc29",
"38719b99c2d45038f3abfbae",
"200aa9505efe42e58d1153c3",
"a633327ebf04637f44b876ab"
],
"read": [
"73b5c131b51dc71bcf05a835",
"1c8ea55538908c2cb798a807",
"57596243880cdbf18eef05e3",
"6471740aee694efea57cc487",
"d9da55d5cb9a399ebf59f4ec"
]
},
"componentId": "d57d27058bfad28647922c64"
}
}