This endpoint runs a preset
POST /v1/eventpreset/run/{eventPresetID}
Summary
This endpoint runs a preset.
Details
Request body: JSON object when you want to override the target devices with a
data array of device IDs.
Authentication
No operation-level security requirement is documented here.
Parameters
| Name | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| eventPresetID | path | integer (int64) | Yes | The ID of the event preset to run. | 1 |
Request Body
Required: Yes
application/json
data(array<integer (int64)>, optional)- array of
integer (int64)integer (int64)
- array of
Example
{
"data": [
1
]
}
Responses
200
Success
application/json
Not documented here.
Example
{
"EventID": 101
}