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": [
"fdd85254314a7be7a7a9ec1c",
"812d4fd2f89cd78a3469e7de",
"ca052fe53fff779acb2a9849",
"2e5b35a92c84527147404b3d"
],
"read": [
"7f95429a8d07c804b3b71bfc",
"b5cd1647d5861ddc4a190931",
"748e2357e69ca194af17c17c",
"1d4e198bd1d94f42498d30e0"
]
},
"componentId": ""
}
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": "8662dd993b3e9a88850f8759",
"created": "1988-12-26T06:37:37.768Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1970-12-29T06:38:53.272Z",
"_id": "61d32b34be3d9e79666037bd",
"gbac": {
"write": [
"42352e9230c58a275e11eb8d",
"724569918a1ce1e0ff0c3706",
"641d0329e65bfee22a5fd416",
"7c8642dfc5b74989e5420de5",
"3adac860c6d9f7a35019201b"
],
"read": [
"51319cf5ececb5571ae43db0"
]
},
"componentId": "b824FB17-435D-4d8a-6a4B-dF9Bfa2bdE1e"
}
}