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": [
"80d63ea6d2a10975bf855696"
],
"read": [
"70929f9874e6b56bffce6b1c"
]
},
"componentId": null
}
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": "Pronghorn",
"created": "1975-08-23T09:52:31.454Z",
"lastUpdatedBy": "84a330a8d252e6c1f57821c0",
"lastUpdated": "2000-11-21T17:10:41.368Z",
"_id": "015e62253ce73b1d47f82f2e",
"gbac": {
"write": [
"52dd96d9c54b7a8bfc8ddd89",
"89797794aa6f663ccda36d6d"
],
"read": [
"dc6bc83eb4460e0cdfad6ef9",
"9bf4c949f89c43cc8bf38408",
"919599129a632d6f0735f866",
"68a937e31a4da25d2a1553a9",
"3becff4742a0be3f38446917"
]
},
"componentId": "199D6ad3-67bA-9B85-aeFC-4EB02904cFcA"
}
}