Pachca icon

Pachca

Interact with Pachca API

Bot → Update Token

AI-generated

Summary

Update a bot token by bot ID and token ID, optionally changing the token's name and scopes.

Inputs

  • ID (required) — The numeric identifier of the bot whose token will be updated.
  • Token ID (required) — The numeric identifier of the token to update.
  • Additional Fields — Optional fields to update on the token, including a new token name and scopes. The scopes replace the existing list entirely and take effect immediately without needing to reissue the token.

Output shape

a single updated token object

Requires the user to have owner, admin, or user roles to perform the update. The operation replaces the token's scopes as a whole immediately without needing to reissue the token.

Links

Discussion