Delete User Account
Deactivates the authenticated user's account. The account is soft-deleted (marked as inactive) rather than permanently deleted.
Endpointβ
DELETE /api/v1/users/me
Authenticationβ
Requires JWT token (Bearer authentication).
Requestβ
No request body required.
Responseβ
Success Response (200 OK)β
{
"message": "Account deactivated successfully",
"success": true
}
Examplesβ
curl -X DELETE https://api.callcov.com/api/v1/users/me \-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."Behaviorβ
When an account is deactivated:
- User is marked as inactive (
is_active = false) - User cannot log in
- All API keys are invalidated
- User data is retained (soft delete)
Permanent Action
Account deactivation cannot be reversed via API. Users must contact support to reactivate.
Relatedβ
- Get Profile - Get user info
- Update Profile - Update account