Auth

Create new auth user

Creates a new user in the Neon Auth user directory for the specified branch. The user is created in the neon_auth.users_sync table and can immediately authenticate using the branch's configured auth providers.

post/projects/{project_id}/branches/{branch_id}/auth/users

Request

  • Base URL: https://console.neon.tech/api/v2
  • URL: https://console.neon.tech/api/v2/projects/{project_id}/branches/{branch_id}/auth/users
  • Auth: one of:
    • HTTP bearer
    • API key in cookie zenith
    • API key in cookie keycloak_token

Request body

emailstring email required
namestring

Response

Creates new user

idstring required

ID of newly created user

Changes

No recorded changes to this operation across all 1 revision of this API.