# Remove a ban

> For the complete documentation index, see [llms.txt](https://bsvblockchain.com/docs/llms.txt).

**POST** `/admin/unban`

Base URL: `https://{fqdn}`

Remove a ban

## Authorization

- BearerToken (http, bearer)
- BSVMutualAuth (http, bearer)

## Body

Content type: `application/json`

- `type` ("domain" | "outpoint", required)
- `value` (string, required)

Example:

```json
{
  "type": "domain",
  "value": "string"
}
```

## Responses

### 200

Ban removed.

- `status` (string, required)
- `message` (string)

Example:

```json
{
  "status": "string",
  "message": "string"
}
```

### 400

Bad request — validation error or missing required field.

- `status` (string, required)
- `message` (string, required)
- `code` (string)
  Stable machine-readable error code (see specs/errors.md).

Example:

```json
{
  "status": "string",
  "message": "string",
  "code": "string"
}
```

### 401

No authentication credentials provided.

- `status` (string, required)
- `message` (string, required)
- `code` (string)
  Stable machine-readable error code (see specs/errors.md).

Example:

```json
{
  "status": "string",
  "message": "string",
  "code": "string"
}
```

### 403

Credentials provided but insufficient.

- `status` (string, required)
- `message` (string, required)
- `code` (string)
  Stable machine-readable error code (see specs/errors.md).

Example:

```json
{
  "status": "string",
  "message": "string",
  "code": "string"
}
```