Delete User
Delete a user and all linked identities from a Clowk instance with the DELETE /api/v1/users/:id endpoint, authenticated by your secret key.
DELETE /api/v1/users/:id
Permanently deletes a user and all associated identities. This action cannot be undone.
Request
curl -X DELETE https://myapp.clowk.dev/api/v1/users/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H "X-Clowk-Secret-Key: sk_live_..."Headers
| Header | Required | Description |
|---|---|---|
X-Clowk-Secret-Key | Yes | Your instance secret key |
Path parameters
| Parameter | Type | Description |
|---|---|---|
id | string | User UUID |
Response
200 — Deleted
{
"deleted": true,
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}404 — User not found
{ "error": "User not found" }Search Users
Search Clowk users with GET /api/v1/users/search, filtering by email, name and creation or verification dates with wildcards, negation and OR logic.
List Sessions
List every active and revoked session in your Clowk instance with GET /api/v1/sessions, with provider, IP, geo data and sign-in timestamps.