Users
Accounts are created automatically upon Google login. There is no manual registration endpoint.
GET /api/v1/users/me
Get the current user's profile.
Response 200
json
{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "you@example.com",
"name": "Your Name",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}
}PATCH /api/v1/users/me
Update the current user's name.
Request body
json
{
"name": "New Name"
}Response 200 — Updated user object.
DELETE /api/v1/users/me
Soft-delete the current account. The user record is retained in the database with deletedAt set. All API keys stop working immediately.
Response 200
json
{
"data": { "message": "User deleted" }
}