Requires a valid authentication token in the
AUTH header.
Headers
string
required
Authentication token (JWT) obtained from the
/auth/login endpointDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
AUTH header.
/auth/login endpointcurl -X DELETE "https://api.scorton.tech/users/me" \
-H "AUTH: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
{
"detail": "Ok: User successfully deleted."
}
| Status | Description |
|---|---|
| 200 | User deleted successfully |
| Status | Description | Example |
|---|---|---|
| 401 | Missing or invalid token | { "detail": "Unauthorized: Invalid or expired token." } |
| 403 | Account not validated | { "detail": "Forbidden: Account is not validated yet." } |
| 404 | User not found | { "detail": "Not Found: User does not exist." } |