Forget Twitch settings
/api/settings/twitchRemove the client id, the secret, the channel and what Check found, and turn the poll off. The post's template, timings and sites are kept.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/api/settings/twitch"{ "clientId": null, "secretStored": true, "channel": null, "check": null, "limitedUntil": null, "live": true, "canGoLive": true, "polledAt": null, "pollProblem": null, "postAfterMinutes": 0, "postEveryHours": 0, "postTitle": "string", "postText": "string", "places": { "discord": null, "vrChat": null, "bluesky": false }, "vrChatRoles": [ { "id": "string", "name": "string" } ]}Get Twitch settings GET
The Twitch connection: the app's client id, the channel, what the last Check found, whether the poll is on, and the "We're live on Twitch" post: its template, timings and where it goes. The client secret is never returned. Needs the `ManageSettings` permission.
Update Twitch settings PUT
Save the Twitch app's client id and secret, the channel, whether the poll is on, or the "We're live on Twitch" post's template, timings and sites, or any of them. The secret is kept encrypted. Saving the app or the channel clears what the last Check found. The poll on needs a Check that passed. A refusal (400) lists everything wrong at once, in `problems`. Needs the `ManageSettings` permission.