Users API
Manage user profiles, passwords, and profile pictures. All endpoints require authentication.Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /users/me | Get current user profile |
| PUT | /users/me | Update profile |
| POST | /users/me/password | Change password |
| POST | /users/me/profile-picture | Upload profile picture |
| POST | /users/me/delete-request | Submit account deletion request |
Get Current User
Response 200 OK
Update Profile
Request Body
All fields are optional — only include what you want to change.Response 200 OK
Returns the updated user profile object.
Errors
| Status | Detail |
|---|---|
409 | Email already in use (if changing email) |
Change Password
Only available for accounts withauth_provider = "email". Google OAuth accounts do not have a password.
Request Body
Response 200 OK
Errors
| Status | Detail |
|---|---|
400 | Incorrect current password |
Upload Profile Picture
Upload a profile picture. Stored in S3 and returned as a presigned URL.Request
| Field | Type | Description |
|---|---|---|
file | image | JPG, JPEG, PNG, or WebP |
Response 200 OK
Returns the updated user profile with the new profile_picture_url.
Errors
| Status | Detail |
|---|---|
400 | File must be an image |
Request Account Deletion
Submit an account deletion request. Sends an email to the admin — account is deleted within 30 days.Response 200 OK
Rate Limits
| Endpoint | Limit |
|---|---|
| Profile get/update | 120/min |
| Password change | 120/min |
| Profile picture upload | 10/min |
| Delete request | 20/min |