---
title: "Delete User"
method: DELETE
path: "/v2/facts/{proj_id}/{env_id}/users/{user_id}"
tags: ["Users"]
---

# Delete User

`DELETE /v2/facts/{proj_id}/{env_id}/users/{user_id}`

Deletes the user and all its related data.

## Path parameters

- `user_id` string, required — Either the unique id of the user, or the URL-friendly key of the user (i.e: the "slug").
- `proj_id` string, required — Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").
- `env_id` string, required — Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/permit/apis/permit-io-api.md) · [All operations](https://skmtc.dev/permit/apis/permit-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/permit/permit-io-api/revisions/13faa12b4692/schema)
