Update current user profile
const url = 'http://localhost:3000/api/v1/me/profile';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","phone":"example","timezone":"example","locale":"example","bio":"example","jobTitle":"example","department":"example","location":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”UUID of the organization (tenant) the request acts in. It selects the tenant and grants nothing: the server checks membership or an open tenant switch. Not needed for global operations. A malformed value returns 400. API keys are fixed to their own organization; another organization returns 403. The x-organization-source header grants nothing.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Display name
Phone number
Timezone
Locale
Bio
Job title
Department
Location
Examplegenerated
{ "name": "example", "phone": "example", "timezone": "example", "locale": "example", "bio": "example", "jobTitle": "example", "department": "example", "location": "example"}Responses
Section titled “Responses”object
User ID
User email
User display name
Phone number
Timezone
Locale
Email notifications enabled
SMS notifications enabled
Push notifications enabled
Marketing emails enabled
User bio
Job title
Department
Location
Created at
Updated at
Last login timestamp
Whether the user is a super admin
Effective roles for the current user. A SUPPORT user with an open tenant switch reports [‘support’, ‘admin’]: it works in the switched tenant with the permission set of the built-in admin role (FM-1331).
Whether the realm has Entra federation enabled (FM-1087). When true, manual role changes, invites, password resets, user creation and superadmin grant/revoke are governed by Entra mappings instead.
Whether the CURRENT session user is federated (has a linked external identity provider, e.g. Entra). Derived from the users.identityProvider column (FM-1087). Used together with isEntraFederationEnabled to warn a non-federated user signed in on an Entra-enabled realm.
Example
{ "timezone": "UTC", "locale": "en", "emailNotifications": true, "smsNotifications": false, "pushNotifications": true, "marketingEmails": false, "isSuperAdmin": false, "roles": [ "admin" ], "isEntraFederationEnabled": false, "isFederated": false}