TwitchApi.ChannelPoints.DeleteCustomReward (TwitchApi v0.1.0) View Source

⛔ This module is autogenerated please do not modify manually.

Example request from twitch api docs:

descriptions:

This request deletes a custom reward:

requests:

curl -X DELETE 'https://api.twitch.tv/helix/channel_points/custom_rewards?broadcaster_id=274637212&id=b045196d-9ce7-4a27-a9b9-279ed341ab28'
-H'Client-Id: gx2pv4208cff0ig9ou7nk3riccffxt'
-H'Authorization: Bearer vjxv3i0l4zxru966wsnwji51tmpkj2'

Example response from twitch api docs:

descriptions:

responses:

204 No Content

Link to this section Summary

Functions

Description:

Deletes a Custom Reward on a channel.

Link to this section Types

Specs

broadcaster_id() :: %{broadcaster_id: String.t()}

Specs

id() :: %{id: String.t()}

Specs

user_info() :: %{user_id: integer() | binary()} | %{user_name: binary()}

Link to this section Functions

Specs

call(broadcaster_id() | id(), user_info()) ::
  {:ok, Finch.Response.t()} | {:error, Exception.t()}

Description:

Deletes a Custom Reward on a channel.

Required authentication:

User OAuth token Required scope: channel:manage:redemptions

Required authorization: