llms.txt: machine-readable documentation index. Markdown version of this page is also available.

JetBrains Central Console main Help

JetBrains Account API

You can use the JetBrains Account API to automate the management of licenses and user accounts. It's a REST API with endpoints to:

Users with the Manage organization permission can also enable or disable the JetBrains Account API for the entire organization. While the API is enabled, they have full read and write access to it.

Enable the JetBrains Account API

  1. In the sidebar, select Organization | Administration.

    If you don't see this page, or the controls on this page are inactive, make sure your role has the necessary permissions.

  2. In the JetBrains Account API section of the Administration page, click Enable API.

This enables API access for all users with the Manage organization permission.

Disable the API

  1. In the sidebar, select Organization | Administration.

    If you don't see this page, or the controls on this page are inactive, make sure your role has the necessary permissions.

  2. In the JetBrains Account API section of the Administration page, click Disable API.

Disabling the JetBrains Account API blocks all API access to the organization, but any access tokens generated by users stay valid. If you re-enable the API later, they'll still work. For more information, see Token lifetime.

Manage your personal API token

To use the JetBrains Account API, you’ll need a personal access token. You can generate, regenerate, or invalidate it anytime.

Your token is tied to your account, so any API requests made with it will be linked to you. Other users with JetBrains Account API access can generate their own tokens too.

Generate a personal token

  1. In the sidebar, select Organization | Administration.

    If you don't see this page, or the controls on this page are inactive, make sure your role has the necessary permissions.

  2. In the JetBrains Account API section of the Administration page, click Generate access token.

  3. Copy your token from the dialog that pops up. For security reasons, we only show the token once – so make sure to save it somewhere safe before closing the dialog.

Generate a new personal token

Generate a new token if you lost access to the current one or accidentally disclosed it to others.

  1. In the sidebar, select Organization | Administration.

    If you don't see this page, or the controls on this page are inactive, make sure your role has the necessary permissions.

  2. In the JetBrains Account API section of the Administration page, click Generate new token.

  3. When a confirmation dialog pops up, click Generate new token again.

  4. Copy your token from the dialog that pops up. For security reasons, we only show the token once – so make sure to save it somewhere safe before closing the dialog.

Invalidate your personal access token

Invalidate your token if you no longer need access to the JetBrains Account API.

  1. In the sidebar, select Organization | Administration.

    If you don't see this page, or the controls on this page are inactive, make sure your role has the necessary permissions.

  2. In the JetBrains Account API section of the Administration page, click Invalidate token.

  3. When a confirmation dialog pops up, click Invalidate token again.

Token lifetime

The JetBrains Account API tokens have an indefinite lifetime.

Each user gets one token, even if they have multiple roles. Unless they regenerate or remove it, the token stays active as long as they have API access. If they lose all roles, the token gets revoked automatically.

If you disable the API and re-enable it later, any previously generated tokens will still be valid.

Use API methods

See the JetBrains Account API reference for the full list of available methods. To use the API methods, you'll need two parameters:

X-Customer-Code

Your JetBrains customer ID. You can find it by copying support information.

X-Api-Key

Your personal API token.

curl -X 'DELETE' \ 'https://account.jetbrains.com/api/v1/account' \ -H 'accept: application/json' \ -H 'X-Customer-Code: 12345678' \ -H 'X-Api-Key: ac723fc5-ea7a-42cf-ab30-bb079be95a66' \ -H 'Content-Type: application/json' \ -d '{ "email": "john.doe@example.com" }'
DELETE https://account.jetbrains.com/api/v1/account accept: application/json X-Customer-Code: 12345678 X-Api-Key: ac723fc5-ea7a-42cf-ab30-bb079be95a66 Content-Type: application/json { "email": "john.doe@example.com" }
06 October 2026