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": [
"eb94a0af19b8a9479fdb41c3",
"f6deea368f1132f55fbd7eb6",
"364b793de3f46eb0d46e3c4c",
"523e5ce80d7d6c9f7c61f740",
"9d90311417ad596271a7d956"
],
"read": [
"5bdfd0908b1197902d1ac867",
"56d7d9a4e36bf1aacc48f3f1",
"4490cd392f13d6f7dcec224b",
"3e9485ff995018429dd72c92"
]
},
"componentId": "8972bBd4-9C0C-c50A-86eF-a7F9F38d913D"
}
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": null,
"createdBy": "bede5248f585045d42d9ee50",
"created": "1955-10-16T07:11:09.584Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1993-04-15T21:34:09.709Z",
"_id": "d07ed4068f1a0afffc0609f3",
"gbac": {
"write": [
"ae8d7372e7bdacfe530bd99f",
"e19e6df8141b03c881e005c9",
"7eb6511925c935302c841b81",
"d1f8c8540caaa07095b64f81",
"64d090d149b3454a335bd804"
],
"read": [
"aa5297f553fb8964a38f7d95"
]
},
"componentId": "5494e338afacd6aae8f983ea"
}
}