Update current user

PATCH

Updates the currently authenticated user. Only the values provided will be updated.

Request

This endpoint expects an object.
display_namestringOptional

Human-readable user display name. This is not a unique identifier.

profile_image_urlstringOptional

URL of the profile image for user. Can be a Base64 encoded image. Must be smaller than 100KB. Please compress and crop to a square before passing in.

client_metadatamap from strings to anyOptional

Client metadata. Used as a data store, accessible from the client side. Do not store information that should not be exposed to the client.

selected_team_idstringOptional

ID of the team currently selected by the user

totp_secret_base64stringOptional

Enables 2FA and sets a TOTP secret for the user. Set to null to disable 2FA.

Response

Successful response

idstring

The unique identifier of the user

primary_email_verifiedboolean

Whether the primary email has been verified to belong to this user

signed_up_at_millisdouble

The time the user signed up identify=>(the number of milliseconds since epoch, January 1, 1970, UTC)

selected_teamobjectOptional
primary_emailstringOptional

Primary email

display_namestringOptional

Human-readable user display name. This is not a unique identifier.

client_metadatamap from strings to anyOptional

Client metadata. Used as a data store, accessible from the client side. Do not store information that should not be exposed to the client.

client_read_only_metadatamap from strings to anyOptional

Client read-only, server-writable metadata. Used as a data store, accessible from the client side. Do not store information that should not be exposed to the client. The client can read this data, but cannot modify it. This is useful for things like subscription status.

profile_image_urlstringOptional

URL of the profile image for user. Can be a Base64 encoded image. Must be smaller than 100KB. Please compress and crop to a square before passing in.

selected_team_idstringOptional

ID of the team currently selected by the user