Skip to content

document the 100-character limit on API token names - #57

Open
oshchyhol wants to merge 1 commit into
mainfrom
limit-api-token-name-length
Open

oshchyhol wants to merge 1 commit into
mainfrom
limit-api-token-name-length

Conversation

@oshchyhol

Copy link
Copy Markdown
Contributor

Motivation

API token names are capped at 100 characters, so a longer name is rejected with a 422. The schema
did not express that limit, so generated clients and the docs let users send names that cannot be
accepted.

Changes

  • Add maxLength: 100 to CreateApiTokenRequest.name

How to test

  • The Create API token reference shows the name field with a 100-character maximum

@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 5daff43e-a69b-42af-8d32-a64eaf93076e


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@oshchyhol
oshchyhol marked this pull request as ready for review September 9, 2026 17:06
@oshchyhol
oshchyhol requested review from IgorDobryn and removed request for Rabsztok September 11, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants