Skip to main content

Check for existing user

GET 

https://$CUSTOM-DOMAIN/management/v1/users/_is_unique

deprecated

Returns if a user with the requested email or username is unique. So you can create the user.

Deprecated: please use user service v2 ListUsers, is unique when no user is returned

Request​

Query Parameters

    userName string
    email string

Header Parameters

    x-zitadel-orgid string

    The default is always the organization of the requesting user. If you like to get users of another organization include the header. Make sure the user has permission to access the requested data.

Responses​

A successful response.

Schema

    isUnique boolean
curl -L 'https://$CUSTOM-DOMAIN/management/v1/users/_is_unique' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://$CUSTOM-DOMAIN/management/v1
Auth
Parameters
— query
— query
— header
ResponseClear

Click the Send API Request button above and see the response here!