Pachca icon

Pachca

Interact with Pachca API

Bot → Reissue Token

AI-generated

Summary

Reissue a bot token by providing the bot's ID and the specific Token ID to be reissued, requiring owner, admin, or user roles for authorization.

Inputs

  • ID (required) — The numerical ID of the bot whose token is to be reissued.
  • Token ID (required) — The numerical ID of the token to reissue for the specified bot.

Output shape

a single JSON object containing information about the newly reissued bot token

This operation requires the user to have owner, admin, or user roles for authorization. The output includes details of the reissued token; errors may occur if the token or bot IDs are invalid or if the user lacks necessary permissions.

Links

Discussion