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": [
"a5a0983e7807de0209b4d0fd",
"ab11d3ea70caccbce23dc28d",
"3f7081cb81495efce681dbf5",
"1070267f939dec72ce7e215e"
],
"read": [
"80428d07fba3665bfa503a9e",
"fee97dcb1118517265012fa1",
"e9e75d9606da4cc5cf6dba55"
]
},
"componentId": "0d734756b93708f3658b2870"
}
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": "Pronghorn",
"created": "2010-08-31T06:19:36.71Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1979-06-11T05:51:24.139Z",
"_id": "04f1041e29577e29c6e8e7d7",
"gbac": {
"write": [
"1ef39e98c5acdb59272df72b",
"68804c8292bb1661441392c0",
"9949a59f2fb9745b36e8635f",
"479d20d32eb49caa95ccaad8",
"07f257b4876720f059356f99"
],
"read": [
"637781135c0584ff13ffc859",
"0cb1b6f4dd98269ed798b8b8",
"8af3fd9cc4b87fe58aec495d",
"a213e95270ae37b59013a6cf"
]
},
"componentId": null
}
}