---
title: "Remove a privilege from a user"
method: DELETE
path: "/api/user/{user_id}/privileges"
tags: ["Users"]
---

# Remove a privilege from a user

`DELETE /api/user/{user_id}/privileges`

Removes the named privilege from the user with the given `user_id`.
Requires `admin` or the `edit_user_privileges` permission.

## Query parameters

- `privilege` string, required

## Response `204`

Privilege removed.

## Other responses

- `400` — Bad request.
- `403` — Access denied.
- `404` — User not found.

---

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