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": [
"c30d600655dcab32557167d2",
"7b76319a6fb5dbc4769a0644",
"04c319d2ab8372791fc3ea86",
"5de1512468b4903c77ea5810"
],
"read": [
"6d86e50864d9424072440889",
"e968b83a3da9c0669532439e",
"70cc6da4498a848a92e9464e"
]
},
"componentId": "c55C0D3B-945D-62cB-7BC8-F90f7b6fbC0f"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "a647068cb7c7743f6e9226a8",
"created": "1990-11-16T03:57:37.145Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2021-01-28T14:51:04.149Z",
"_id": "9f5b15f9c31ef744ca9f70bd",
"gbac": {
"write": [
"345cf1193edb8b612f5963c6",
"cf5982ca2204a95a656f434c",
"c48a6ab18dc953c5b8daf355",
"5dd2d53da9ab8ea52a9e8fdf",
"184230afb22ce46789022823"
],
"read": [
"b1c690d74a30baa3b636d7b0",
"a45a2d88e31ac99b4441dd66",
"aa86d5756683ea344beaef6c",
"256f880fb6eb943fad45257b"
]
},
"componentId": "d962972800e311ceb0c0e52c"
}
}