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": [
"4696945d2c1b1224a6817321",
"21f58ab3db49ef5e18e00dbf"
],
"read": [
"c5157bdc6b8eb0fbdbd6b198",
"e03dddf2ecfc3f4c7d7c5d6b"
]
},
"componentId": "0cBB7023-F7BE-F0Fe-c43D-ECc5Df2a5af3"
}
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": null,
"createdBy": "73c934ce70a2da25da069230",
"created": "2019-06-21T06:10:30.509Z",
"lastUpdatedBy": "6b8f2c1cd3bc23f1449c6049",
"lastUpdated": "1959-05-22T13:10:25.707Z",
"_id": "30dacac04b96b74254559ca2",
"gbac": {
"write": [
"db9396abab27ce7c412a3993",
"6de7d5c1545259b0b43445da"
],
"read": [
"26c8a0bda501ddef492bf8af",
"7c58e1673f4915d94f47e647"
]
},
"componentId": ""
}
}