Integrations
Sign out of Twitch
DEL
/api/integrations/twitch/loginAdmin. Needs an unlock token (
x-tempolight-token) while a PIN lock is set; without a lock, anyone can call it.Forgets the Twitch sign-in.
Responses
200OKapplication/json
object
The Twitch settings and status.
403Locked, or not allowed.application/json
errorstringrequiredWhat went wrong, in a sentence for people.
Request
curl -X DELETE 'http://localhost:8080/api/integrations/twitch/login'const res = await fetch("http://localhost:8080/api/integrations/twitch/login", {
method: "DELETE",
});
const data = await res.json();
console.log(data);import requests
res = requests.delete(
"http://localhost:8080/api/integrations/twitch/login",
)
print(res.json())Response
{}{
"error": "Settings are locked. Unlock with the PIN in Settings."
}