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": "workflows",
"gbac": {
"write": [
"ec3beac93eb1b3a443d7c45c",
"dade04ee8a0e377268623ed1"
],
"read": [
"9da4f854b5dc18f946cb8f42",
"46eaeb978ab294a6ab46080c",
"7bca4de0ef0e775fd1ce132b",
"08857d045c132a6e4d4be4a2"
]
},
"componentId": "1BDb36F5-FDcC-fdEc-2B1c-6EE3D30fAe0a"
}
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": "workflows",
"createdBy": "Pronghorn",
"created": "1969-12-05T22:53:37.339Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2002-02-18T05:29:25.334Z",
"_id": "dc53fcaa83475c683426df10",
"gbac": {
"write": [
"173a59dda8523aea667325fd",
"5b4791f80e87e75cf27e9fd5"
],
"read": [
"15081c82c95b024fe9311527"
]
},
"componentId": null
}
}