👤 User
Delete User | Lynes Loyalty API

Delete User API - GDPR Compliant User Removal

Permanently delete users and all associated data with our User Deletion API. GDPR compliant endpoint for removing user accounts, loyalty data, activity history, and personal information.

Essential for data privacy compliance, GDPR right to erasure, user account management, and data protection regulations. Ensures complete removal of user data from the loyalty platform.

This endpoint allows you to permanently delete a user and all their associated data from the Lynes Loyalty platform.

Endpoint

DELETE /user/{userId}

Authentication

⚠️

Authentication Required

This endpoint requires a valid JWT token with appropriate permissions.

See our JWT Authentication guide for more details.

Path Parameters

ParameterTypeRequiredDescription
userIdstringYesThe unique identifier of the user

Example Request

curl -X DELETE "https://api.lynesapp.de/user/user_123" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

Response

Success Response (200 OK)

{
  "success": true,
  "message": "User successfully deleted"
}

Status Codes

Status CodeDescription
200User successfully deleted
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient permissions
404User not found
500Internal server error

Important Notes

Permanent Action

Deleting a user is permanent and cannot be undone. All user data including points, event history, challenge progress, and rewards will be permanently removed.

Related Endpoints