---
title: "Delete User"
method: DELETE
path: "/users/{userId}"
tags: ["User"]
---

# Delete User

`DELETE /users/{userId}`

Deletes a user from both Auth0 and DAL

## Path parameters

- `userId` string, required

## Headers

- `tenant-id` string

## Response `200`

User deleted successfully

- SuccessResponse
  - `message` string

## Other responses

- `400` — Bad request - Invalid request parameters or missing required headers
- `401` — Authentication required - Valid authentication token is missing or invalid
- `403` — Forbidden - User does not have the required permissions to delete users
- `404` — User not found - The specified user ID does not exist
- `500` — Internal server error - An unexpected error occurred while processing the request

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/revisions/3d27e9019c7b/schema)
