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": [
"397f042c36beb3909c363395",
"49fe2448d630d28bdf76d9e9",
"b3a682c3395a4cd07a29ede5",
"3e67e27b8d83f8ee2f133a7d",
"f1f13c8fa4fea3fe1d580624"
],
"read": [
"b4b2cb99f91da9f7dc856aab",
"bebd1844e9a27aab8c7bc753",
"15fa7eda6f250bc50a844efc",
"fc29b7f9f91a68eca8078b56",
"0dcc43f2b82f0c4e51f6f377"
]
},
"componentId": null
}
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": "3f18d59b92d6fb39b704b256",
"created": "2022-03-17T22:39:11.224Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2000-01-27T20:29:12.464Z",
"_id": "3a6d812394964ac79aa5eff7",
"gbac": {
"write": [
"f3f9b98cec4974ff0796f67e",
"47b2d854730f7987876436bd",
"c114458597743c4424e7b56c"
],
"read": [
"14784d2ea95d09d6ec27e20e",
"dfc66b05157c3b1be36b4beb",
"9e8acbb443e7acb0cc642b19",
"ea2331619bd986d5f4675dd1"
]
},
"componentId": "bFc44410-6F5C-0f3e-9a7B-700a1E94c4a7"
}
}