Skip to content

Update current user profile

PUT
/api/v1/me/profile
curl --request PUT \
--url http://localhost:3000/api/v1/me/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "phone": "example", "timezone": "example", "locale": "example", "bio": "example", "jobTitle": "example", "department": "example", "location": "example" }'
Media type application/json
object
name

Display name

string
phone

Phone number

string
timezone

Timezone

string
locale

Locale

string
bio

Bio

string
jobTitle

Job title

string
department

Department

string
location

Location

string
Example generated
{
"name": "example",
"phone": "example",
"timezone": "example",
"locale": "example",
"bio": "example",
"jobTitle": "example",
"department": "example",
"location": "example"
}
Media type application/json
object
id
required

User ID

string
email
required

User email

string
name

User display name

string
phone

Phone number

string
timezone
required

Timezone

string
default: UTC
locale
required

Locale

string
default: en
emailNotifications
required

Email notifications enabled

boolean
default: true
smsNotifications
required

SMS notifications enabled

boolean
pushNotifications
required

Push notifications enabled

boolean
default: true
marketingEmails
required

Marketing emails enabled

boolean
bio

User bio

string
jobTitle

Job title

string
department

Department

string
location

Location

string
createdAt
required

Created at

string format: date-time
updatedAt
required

Updated at

string format: date-time
lastLoginAt

Last login timestamp

string format: date-time
isSuperAdmin
required

Whether the user is a super admin

boolean
roles
required

Effective roles for the current user

Array<string>
Example
{
"timezone": "UTC",
"locale": "en",
"emailNotifications": true,
"smsNotifications": false,
"pushNotifications": true,
"marketingEmails": false,
"isSuperAdmin": false,
"roles": [
"admin"
]
}