Delete a user
Users
Delete User
Permanently deletes a user and all associated data
DELETE
Delete a user
Overview
Permanently deletes a user identified by theirproject_user_id. This action is irreversible and will remove the user and all associated data from your project.
Authentication
This endpoint requires authentication via the following HTTP headers:X-Clix-Project-ID: Your project IDX-Clix-API-Key: Your Clix Secret API Key
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
project_user_id | string | Yes | The unique identifier of the user to delete |
Example Request
Response
Success Response (200 OK)
Returns an empty response indicating successful deletion:Error Responses
400 Bad Request
Returned when:project_user_idis missing or invalid
401 Unauthorized
Authentication failed or invalid API key.Notes
- This operation is irreversible - deleted users cannot be recovered
- All user data including properties, devices, and event history will be permanently removed
- If you need to temporarily disable a user, consider updating their properties instead of deleting
- After deletion, the same
project_user_idcan be reused to create a new user - Associated devices will also be removed when the user is deleted
- The endpoint does not return a 404 error - it returns 200 OK even if the user doesn’t exist