---
title: "Lift a ban"
method: DELETE
path: "/stats/users/{id}/ban"
tags: ["Stats"]
---

# Lift a ban

`DELETE /stats/users/{id}/ban`

## Request

- Base URL: `https://api.nippy.host`
- URL: `https://api.nippy.host/stats/users/{id}/ban`
- Auth: `bearer` (a scheme the document does not define)

Admin-only (ADR 0048). Clears the ban so the user can sign in again. Does not restore suspended sites, revoked tokens or a cancelled subscription — restore each site from its drill-down. Records `user.unbanned`.

## Path parameters

- `id` string, required

## Response `200`

- APIAdminUnbanResult
  - `userId` string, required: User id (UUID).

## Other responses

- `403`: Admin access required
- `404`: User not found
- `409`: The user is not banned

---

[API](https://skmtc.dev/nippy/apis/nippy-backend-api.md) · [All operations](https://skmtc.dev/nippy/apis/nippy-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nippy/apis/nippy-backend-api/revisions/7ab23f040a55?raw)
