Pular para o conteúdo

Update Profile

PUT
/api/v1/profile

Update current user profile.

Allows updating: full_name, phone. Email cannot be changed through this endpoint.

ProfileUpdateRequest

Schema for updating user profile.

object
full_name
Any of:
string
phone
Any of:
string

Successful Response

UserResponse

User response schema.

object
email
required
Email
string format: email
full_name
required
Full Name
string
id
required
Id
integer
avatar_url
Any of:
string
phone
Any of:
string
timezone
Timezone
string
default: America/Sao_Paulo
is_super_admin
required
Is Super Admin
boolean
is_active
required
Is Active
boolean
email_verified_at
Any of:
string format: date-time
last_login_at
Any of:
string format: date-time
created_at
required
Created At
string format: date-time

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string