delete

suspend fun delete(broadcasterId: String, id: String)

Twitch API: Delete Custom Reward

Deletes a custom reward that the broadcaster created. The app used to create the reward is the only app that may delete it. If the reward's redemption status is UNFULFILLED at the time the reward is deleted, its redemption status is marked as FULFILLED.

Parameters

broadcasterId

the ID of the broadcaster that created the custom reward. This ID must match the user ID found in the OAuth token.

id

the ID of the custom reward to delete.