DELETE
/projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}Delete auth userDeletes the specified user from the Neon Auth user directory for the specified branch. Removes the user record from neon_auth.users_sync. This action cannot be undone.
Parameters
project_idstringpathrequiredThe Neon project ID
branch_idstringpathrequiredThe Neon branch ID
auth_user_idstringpathrequiredThe Neon user ID
Responses
objectGeneralError
codestringrequiredmessagestringrequiredError message
request_idstringUnique identifier for the request, useful for debugging. You can set this value manually by including an `X-Request-ID` header in the request. If not provided, the value will be generated automatically.
{
"code": "",
"message": "string",
"request_id": "string"
}