API Tokens (create, rotate, revoke)

Authenticate to the Neon Cloud API for automation and integrations.

Insert screenshot of Profile β†’ API Tokens here

Create ▢️

  1. Go to Profile β†’ API Tokens

  2. Click Create token, add name/labels

  3. Copy the secret now (shown once)

Use (example)

export NEON_TOKEN=<secret>
curl -H "Authorization: Bearer $NEON_TOKEN" https://api.neoncloud.com/v1/me

Rotate & revoke πŸ”„

  • Create new token β†’ update apps β†’ revoke old token

  • Scope tokens to least privileges; label by app/team

Last updated

Was this helpful?