Delete contest
contests_deleteDeletes a StreamElements contest by channel and contest ID, closing it through the API. Use contest close instead to end a running contest, or refund to return bets.
Instructions
DELETE /contests/{channel}/{contestId}. StreamElements labels it 'Close contest', the same as contests_close. Prefer contests_close to end a running contest and contests_refund to return bets.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contestId": "<contestId>"
},
"name": "contests_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | StreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token. | |
| contestId | Yes | Contest id (24-character hex id) |