Check for existing user
GET/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​
- 200
- default
A successful response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
isUnique boolean
{
"isUnique": true
}
- Schema
- Example (from schema)
Schema
isUnique boolean
{
"isUnique": true
}
- Schema
- Example (from schema)
Schema
isUnique boolean
{
"isUnique": true
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
code int32
message string
details
object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
code int32
message string
details
object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
code int32
message string
details
object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...