TwitchApi.Videos.DeleteVideos (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 two videos with the IDs 1234 and 9876.

requests:

curl -X DELETE 'https://api.twitch.tv/helix/videos?id=1234&id=9876'
-H'Authorization: Bearer 2gbdx6oar67tqtcmt49t3wpcgycthx'
-H'Client-Id: uo6dggojyb8d6soh92zknwmi5ej1q2'

Example response from twitch api docs:

descriptions:

responses:

{"data":["1234","9876"]}

Link to this section Summary

Types

ID of the video(s) to be deleted. Limit: 5.

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:

Deletes one or more videos. Videos are past broadcasts, Highlights, or uploads.

Link to this section Types

Specs

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

ID of the video(s) to be deleted. Limit: 5.

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(id(), user_info()) :: {:ok, Finch.Response.t()} | {:error, Exception.t()}

Description:

Deletes one or more videos. Videos are past broadcasts, Highlights, or uploads.

Required authentication:

User OAuth token Required scope: channel:manage:videos

Required authorization: