---
title: "Revoke Panel Access"
method: DELETE
path: "/api/admin/access/{user_id}"
tags: ["Admin"]
---

# Revoke Panel Access

`DELETE /api/admin/access/{user_id}`

## Request

- Base URL: `https://pegarex.com.br` (the document declares no server; this is the origin it was published from)
- URL: `https://pegarex.com.br/api/admin/access/{user_id}`
- Auth: HTTP bearer

Take /painel away from a granted account. Takes effect on that account's next
request — require_admin reads panel_access every time instead of caching it.

## Path parameters

- `user_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pegarex/apis/pegarex-api.md) · [All operations](https://skmtc.dev/pegarex/apis/pegarex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pegarex/apis/pegarex-api/revisions/8c789c9bd72d?raw)
