TwitchApi.Moderation.RemoveBlockedTerm (TwitchApi v0.1.3) View Source

⛔ This module is autogenerated please do not modify manually.

Example request from twitch api docs:

descriptions:

This example deletes a blocked term.

requests:

curl -X DELETE 'https://api.twitch.tv/helix/moderation/blocked_terms?broadcaster_id=1234&moderator_id=5678&id=c9fc79b8-0f63-4ef7-9d38-efd811e74ac2' -H'Authorization: Bearer f4otqljtpbpg24v41v9gechs4yvwy'
-H'Client-Id: t214nt8z1rdtbj69hyarjvh5mi6fh'

Example response from twitch api docs:

descriptions:

responses:

204NoContent

Link to this section Summary

Types

The ID of the broadcaster that owns the list of blocked terms.

The ID of the blocked term you want to delete.

The ID of the broadcaster or a user that has permission to moderate the broadcaster’s chat room. This ID must match the user ID associated with the user OAuth token.

Map containing the user needed information for the fetch of the required user OAuth access token. You will be able to choose from one way or the other for fetching previously OAuth access tokens. :user_id field contains the user ID from twitch, e.g. 61425548 or "61425548" :user_name field constains the user name from twitch, e.g. "hiimkamiyuzu"

Functions

Description:

Removes the word or phrase that the broadcaster is blocking users from using in their chat room.

Link to this section Types

Specs

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

The ID of the broadcaster that owns the list of blocked terms.

Specs

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

The ID of the blocked term you want to delete.

Specs

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

The ID of the broadcaster or a user that has permission to moderate the broadcaster’s chat room. This ID must match the user ID associated with the user OAuth token.

Specs

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

Map containing the user needed information for the fetch of the required user OAuth access token. You will be able to choose from one way or the other for fetching previously OAuth access tokens. :user_id field contains the user ID from twitch, e.g. 61425548 or "61425548" :user_name field constains the user name from twitch, e.g. "hiimkamiyuzu"

Link to this section Functions

Specs

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

Description:

Removes the word or phrase that the broadcaster is blocking users from using in their chat room.

Required authentication:

Requires a User access token with scope set to moderator:manage:blocked_terms .

Required authorization: