Skip to main content
PUT
Update a user

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The user identifier

Gövde

application/json
name
string

User's name.

Maximum string length: 255
email
string<email>

User's email address.

Maximum string length: 255
password
string

User's password.

Minimum string length: 8
password_confirmation
string

User's password confirmation. Must match the password field.

Minimum string length: 8
phone
string | null

User's phone number.

Maximum string length: 20
title
string | null

User's title.

Maximum string length: 255
emergency_contact_name
string | null

User's emergency contact name.

Maximum string length: 255
emergency_contact_surname
string | null

User's emergency contact surname.

Maximum string length: 255
emergency_contact_phone_number
string | null

User's emergency contact phone number.

Maximum string length: 20
blood_group
string | null

User's blood group.

Maximum string length: 10
language
enum<string>[] | null

User's language preferences.

A language code (ISO 639-1).

Mevcut seçenekler:
Turkish,
English,
Other
is_active
boolean | null

User's active status.

bio
string | null

User's bio.

Maximum string length: 1000
role_ids
integer[] | null

Role identifiers to assign to user.

A role ID.

Yanıt

success
string
gerekli
data
UserResource · object
gerekli