TwitchApi.EventSub.DeleteEventSubSubscription (TwitchApi v0.1.2) View Source
⛔ This module is autogenerated please do not modify manually.
Example request from twitch api docs:
descriptions:
This example deletes the specified EventSub subscription. The response body is empty.
requests:
curl -X DELETE
'https://api.twitch.tv/helix/eventsub/subscriptions?id=26b1c993-bfcf-44d9-b876-379dacafe75a'
-H'Authorization: Bearer 2gbdx6oar67tqtcmt49t3wpcgycthx'
-H'Client-Id: wbmytr93xzw8zbg0p1izqyzzc5mbiz'
Example response from twitch api docs:
descriptions:
responses:
Twitch CLI example that deletes the specified subscription.
twitch api delete /eventsub/subscriptions -qid=c839a466-034a-4d77-8d4d-c9a751516e7
Link to this section Summary
Types
The ID of the subscription to delete. This is the ID that Create Eventsub Subscription returns.
Link to this section Types
Specs
id() :: %{id: String.t()}
The ID of the subscription to delete. This is the ID that Create Eventsub Subscription returns.
Link to this section Functions
Specs
call(id()) :: {:ok, Finch.Response.t()} | {:error, Exception.t()}
Description:
Deletes an EventSub subscription.
Required authentication:
Requires an application OAuth access token.