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": [
"1353994c77dbdf6df0ddbd6b",
"e346e80e6dfc698233e766d3",
"597c6318e06a6d25715ef9c7",
"05377badb7da918ae655ba27"
],
"read": [
"55c6aceb9e0d7500cc2d1729",
"b27fc3ceef48b781e9490900",
"35f3aca96270cae8521f22a2",
"8d9ca948fdbac4ff92d64ca3"
]
},
"componentId": ""
}
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": "Pronghorn",
"created": "2015-06-11T13:16:21.089Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1972-10-08T14:34:20.83Z",
"_id": "f6a0d75be4f1765089899220",
"gbac": {
"write": [
"20885059b494627be9dd6f99"
],
"read": [
"593180ca503e9152577f3281"
]
},
"componentId": "Ac1fEAfA-Ca4A-6AEA-E06D-14469EA4b5A2"
}
}