Actions95
- Bot Actions
- Chat Actions
- Chat Member Actions
- Custom Property Actions
- Draft Actions
- File Actions
- Form Actions
- Group Tag Actions
- Message Actions
- OAuth Actions
- Profile Actions
- Reaction Actions
- Read Member Actions
- Search Actions
- Security Actions
- Task Actions
- Thread Actions
- User Actions
Bot → Update Token
AI-generatedSummary
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.