Trusted by 250,000+ developers from startups to Fortune 500 companies:
This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.
To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.
Delete Video on Twitch
Description:Deletes a specified video
Version:0.0.1
Key:twitch-delete-video
const common = require("../common.js");
module.exports = {
...common,
name: "Delete Video",
key: "twitch-delete-video",
description: "Deletes a specified video",
version: "0.0.1",
type: "action",
props: {
...common.props,
id: {
type: "string",
label: "Video ID",
description: "ID of the video to be deleted",
optional: true,
},
},
async run() {
const params = {
id: this.id,
};
return (await this.twitch.deleteVideo(params)).data.data;
},
};
This component may be configured based on the props
defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
Label | Prop | Type | Description |
---|
Twitch | twitch | app | This component uses the Twitch app. |
N/A | db | $.service.db | This component uses $.service.db to maintain state between component invocations. |
Video ID | id | string | ID of the video to be deleted
|
Twitch uses OAuth authentication. When you connect your Twitch account, Pipedream will open a popup window where you can sign into Twitch and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Twitch API.
Pipedream requests the following authorization scopes when you connect your account:
analytics:read:extensions
analytics:read:games
bits:read
channel:read:subscriptions
clips:edit
user:edit
user:edit:broadcast
user:read:broadcast
user:read:email
user:read:blocked_users
user:manage:blocked_users
channel:read:editors
channel:manage:videos
user:read:subscriptions
Live streaming platform for gamers