UserResponse
Fields
10 fields
avatar_color- string or null
created_at· required- string (date-time)
email· required- string
full_name- string or null
id· required- string (uuid)
is_active· required- boolean
must_change_password- boolean
role· required- UserRole
updated_at- string (date-time) or null
username· required- string
Raw schema (JSON)
{
"properties": {
"avatar_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Avatar Color"
},
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"email": {
"title": "Email",
"type": "string"
},
"full_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Full Name"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"is_active": {
"title": "Is Active",
"type": "boolean"
},
"must_change_password": {
"default": false,
"title": "Must Change Password",
"type": "boolean"
},
"role": {
"$ref": "#/components/schemas/UserRole"
},
"updated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updated At"
},
"username": {
"title": "Username",
"type": "string"
}
},
"required": [
"created_at",
"id",
"email",
"username",
"role",
"is_active"
],
"title": "UserResponse",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”6 endpoints send or return this schema, on its own or inside another schema.
GET/api/v1/auth/me— Get MePATCH/api/v1/auth/me— Update MePOST/api/v1/auth/register— RegisterGET/api/v1/auth/users— List UsersPOST/api/v1/sso/acs— Saml AcsPOST/api/v1/sso/exchange— Exchange Sso Code
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON