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": [
"364e4bce57044322402effb4",
"731db462e40669df400975ec",
"aa92400370976ca13136afa1",
"4260956022deb6d87d59036f"
],
"read": [
"41927c522730d6434445156d",
"687d57c68c6558a853aea38f",
"a6a54c80bfb467ac92d8cc1a"
]
},
"componentId": null
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "53792909b35d171e82ea047a",
"created": "1952-04-13T00:31:57.162Z",
"lastUpdatedBy": "780d986c338ea8d7f25033eb",
"lastUpdated": "1988-01-30T18:59:07.246Z",
"_id": "c6df28467f2d2a1a2868cb89",
"gbac": {
"write": [
"df6a06eee00038a6af53d423",
"e890f3daea1035ead7979b94",
"9e8e6fa3f81b71d93ae90659"
],
"read": [
"4acac8ac3bce3683fd09de63",
"cdc6fee0942abd43e229c93b"
]
},
"componentId": "e3F18117-4C21-B03E-347b-2ddAc2FE06cC"
}
}