Skip to main content
PATCH
Update user profile

Authorizations

Authorization
string
header
required

Authentication using either a FormBnB session JWT (issued by /auth) or an API key (prefixed with sk_). Both token types are passed as Bearer tokens in the Authorization header.

Body

application/json
name
string

User display name

Maximum string length: 100
notification_preferences
object

Notification preferences

Response

Updated user profile

id
string<uuid>
required
email
string<email>
required
name
string | null
required
created_at
string
required
updated_at
string
required
two_factor_enabled
boolean
required
org_id
string<uuid> | null
required
org_name
string | null
required
org_slug
string | null
required
short_code
string | null
required