Skip to main content
POST
Unblock User

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string<uuid>
required

User identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Response

OK

User

userId
string<uuid>
required

User identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

name
string
required

Full name

Example:

"Maria Silva"

phoneIso
any
required

Phone ISO country code

Example:

"BR"

phoneDdi
any
required

International dialing code

Example:

"55"

phoneNumber
any
required

Phone number without country code

Example:

"99999999999"

phoneVerified
boolean
required

Phone verified

Example:

false

emailVerified
boolean
required

Email verified

Example:

false

status
enum<string>
required

User status

Available options:
PENDING,
ACTIVE,
BLOCKED
Example:

"ACTIVE"

memberships
object[]
required

User memberships

createdAt
string<date-time>
required

Created at

Example:

"2026-01-01T00:00:00.000Z"

updatedAt
string<date-time>
required

Updated at

Example:

"2026-01-01T00:00:00.000Z"

googleProviderId
string | null

Google OAuth provider identifier

Example:

"109876543210987654321"

email
any | null

Email address

Example:

"maria@example.com"

avatar
string | null

Avatar object key

Example:

"users/0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a/avatar/0195e7b2-4a3c-7d3e-9f4a-2c6b8d0e1f3b.png"

createdBy
string<uuid> | null

Created by

Example:

null

updatedBy
string<uuid> | null

Updated by

Example:

null

deletedBy
string<uuid> | null

Deleted by

Example:

null

deletedAt
string<date-time> | null

Deleted at

Example:

null