Skip to main content
Your profile holds the core identity fields tied to your account — names, email, phone number, role, and email verification status. Use GET /users/me to read the current state at any time, PATCH /users/me to update your display name, and DELETE /users/me to permanently close your account. Changing your email or phone number requires dedicated verification flows described in the Email Change and Phone Change guides.

Get Your Profile

Fetch the full profile for the currently authenticated user. No request body is needed — the server identifies you from your session cookie. GET /users/me

Response — 200 OK


Update Your Profile

Change your first name, last name, or both. Supply at least one field — the API rejects a body that contains neither. Each value is trimmed automatically and must be between 1 and 100 characters after trimming. PATCH /users/me
Before sending a PATCH request, call GET /auth/csrf-token to obtain a CSRF token and include it in the x-csrf-token header.

Request Body

string
Updated first name. Must be 1–100 characters after trimming. Optional if last_name is provided.
string
Updated last name. Must be 1–100 characters after trimming. Optional if first_name is provided.

Response — 200 OK

Error Responses


Delete Your Account

Soft-delete your account by supplying your current password. All active sessions are immediately revoked and your session cookie is cleared. The server responds with 204 No Content on success. DELETE /users/me
Account deletion is irreversible via the API. Once deleted, your profile, order history, and personal data are permanently deactivated and cannot be restored through any self-service endpoint. Contact support if you believe the deletion was made in error.

Request Body

string
required
Your current account password, used to confirm the deletion request.

Response — 204 No Content

No response body is returned. After receiving a 204, treat the session as terminated and redirect the user to your sign-in page.

Error Responses