v1

latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KB
Auth

Update auth user role

Updates the role of a user in the Neon Auth user directory for the specified branch. The role controls the user's level of access within the Neon Auth integration.

put/projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}/role

Request body

rolesstring[] required

Array of roles to assign to the user

Example request

{
  "roles": [
    "admin"
  ]
}

Response

Updated the auth user role

idstring required

ID of the updated user