<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D5WR000013mDVS0A2Okta Classic EngineAuthenticationAnswered2025-12-31T17:08:41.000Z2025-12-11T07:37:16.000Z2025-12-31T17:08:41.000Z

SrilathaG.17083 (Customer) asked a question.

Can username length be increased in User API

Hey,

There is a limit set on the username in okta, which is from 1 - 100 in User API, i want to know if it is possible to increase the length. we have longer usernames


  • TimL.58332 (Workflows)

    @SrilathaG.17083 (Customer)​ I want to expand a bit on Mihai's answer. Actions such as updating a users profile in Universal Directory are all done via an API request. This is true if you perform it from the Okta Admin Console or via an API client such as Okta Workflows, Postman, cURL, etc. The same limitations will be applied. The main difference is the Admin Console may outright prevent a change (the option will be grayed out) or it may return a more "friendly" error than the API error response an external client would receive.

     

    If you open developer tools (Such as Chrome Dev Tools) and update a user's profile through the Admin Console you will see the same API call being made as if you performed it via an API client.

     

    The reason I wanted to expand on this is it is almost universally true. The only real exceptions are the Admin Console does have some "internal" API's it leverages that are not available to external API clients.

    Expand Post
    Selected as Best
  • Mihai N. (Okta, Inc.)

    Hi @SrilathaG.17083 (Customer)​ , Thank you for reaching out to the Okta Community! 

     

    Currently, the character limit cannot be increased regardless if it's through API or GUI. 

    You can suggest Feature Enhancement request on the Okta Community page by going to the Community Ideas tab. Features suggested in our community are reviewed and can be voted and commented on by other members. High popularity will increase the likelihood of it being picked up by the Product Team and it being implemented. 

    More details here.

     

     

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

     

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Collect them all. Learn a new skill and earn a new Okta Learning badge.

    Just released: More Okta Community badges just added

    Expand Post
  • TimL.58332 (Workflows)

    @SrilathaG.17083 (Customer)​ I want to expand a bit on Mihai's answer. Actions such as updating a users profile in Universal Directory are all done via an API request. This is true if you perform it from the Okta Admin Console or via an API client such as Okta Workflows, Postman, cURL, etc. The same limitations will be applied. The main difference is the Admin Console may outright prevent a change (the option will be grayed out) or it may return a more "friendly" error than the API error response an external client would receive.

     

    If you open developer tools (Such as Chrome Dev Tools) and update a user's profile through the Admin Console you will see the same API call being made as if you performed it via an API client.

     

    The reason I wanted to expand on this is it is almost universally true. The only real exceptions are the Admin Console does have some "internal" API's it leverages that are not available to external API clients.

    Expand Post
    Selected as Best

Loading
Can username length be increased in User API