---
title: "Whitelist Add"
method: POST
path: "/cabinet/admin/ban-system/settings/whitelist/add"
tags: ["Cabinet Admin Ban System"]
---

# Whitelist Add

`POST /cabinet/admin/ban-system/settings/whitelist/add`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/cabinet/admin/ban-system/settings/whitelist/add/post.ts> (a function with typed inputs; its response is checked against the schema)

Add user to whitelist.

## Request body

- BanWhitelistRequest: Request to add/remove from whitelist.
  - `username` string, required

## Response `200`

Successful Response

- UnbanResponse: Unban response.
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
