Skip to main content
GET
/
api
/
v1
/
auth
/
me
Profile
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
}

Get Profile

Endpoint

GET /api/v1/auth/me

Headers

Authorization
string
required
Authorization: Bearer <id_token>

Example Request

curl https://api.superbox.ai/api/v1/auth/me \
  -H "Authorization: Bearer $ID_TOKEN"

Response (200)

local_id
string
Firebase user ID
email
string
Account email address
display_name
string
Display name (if set)
email_verified
boolean
Whether the email has been verified
disabled
boolean
Whether the account is disabled
{
  "local_id": "abc123def456",
  "email": "user@example.com",
  "display_name": "Your Name",
  "email_verified": true,
  "disabled": false
}

Update Profile

Endpoint

PATCH /api/v1/auth/me

Request Body

display_name
string
New display name
password
string
New password (minimum 8 characters)

Example Request

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 Account

Endpoint

DELETE /api/v1/auth/me

Example Request

curl -X DELETE https://api.superbox.ai/api/v1/auth/me \
  -H "Authorization: Bearer $ID_TOKEN"
Account deletion is permanent. All servers owned by the account must be deleted first.

Success Response (200)

{
  "status": "success",
  "message": "Account deleted"
}