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?