cURL
curl --request GET \ --url https://api.superbox.ai/api/v1/auth/me \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "display_name": "<string>", "password": "<string>" } '
{ "local_id": "<string>", "email": "<string>", "display_name": "<string>", "email_verified": true, "disabled": true }
Read, update, or delete the authenticated user account
GET /api/v1/auth/me
Authorization: Bearer <id_token>
curl https://api.superbox.ai/api/v1/auth/me \ -H "Authorization: Bearer $ID_TOKEN"
{ "local_id": "abc123def456", "email": "user@example.com", "display_name": "Your Name", "email_verified": true, "disabled": false }
PATCH /api/v1/auth/me
curl -X PATCH https://api.superbox.ai/api/v1/auth/me \ -H "Authorization: Bearer $ID_TOKEN" \ -H "Content-Type: application/json" \ -d '{"display_name": "New Name"}'
DELETE /api/v1/auth/me
curl -X DELETE https://api.superbox.ai/api/v1/auth/me \ -H "Authorization: Bearer $ID_TOKEN"
{ "status": "success", "message": "Account deleted" }