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": [
"08dd1ad9944839d84ab84e0f",
"2eda23fe190f7a1874e85d09",
"b2fa61ed2465e273d2e633bb",
"66365fb541689bf89dd37c73"
],
"read": [
"257701087dd8c46cd5b8cd50",
"db761e4044e988da6bbf3b8d"
]
},
"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": "1979-12-24T10:53:26.924Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1975-11-09T00:56:52.337Z",
"_id": "e302266d11b9a419acbe4c83",
"gbac": {
"write": [
"5f8a336c3e8fd3ffdc14b477",
"fa64943f947c121158a09493",
"c6b87f704488ff3e6dc93ff6",
"acb6911baa442e67db27d8d6",
"997fc8e2edecc02c6c539c3c"
],
"read": [
"1308a75ac50d6de9490db3d0"
]
},
"componentId": "a7D796eB-de5d-25A4-f7e9-1BFb19A45bE7"
}
}