---
title: "Unban a token"
method: DELETE
path: "/v1/token-bans/{tokenName}"
tags: ["token-bans"]
---

# Unban a token

`DELETE /v1/token-bans/{tokenName}`

## Request

- Base URL: `https://lpad-backend.stage.defi.ovh.gala.com`
- URL: `https://lpad-backend.stage.defi.ovh.gala.com/v1/token-bans/{tokenName}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/gala/apis/launchpad-backend-api/docs/v1/token-bans/:tokenName/delete.ts> (a function with typed inputs; its response is checked against the schema)

Remove a ban from a token (admin/overseer only)

## Path parameters

- `tokenName` string, required

## Response `default`

Shared error envelope for authorization and token unban failures.

- union: Global HttpException bodies use status/error/message. CustomError and unhandled exception bodies use statusCode/message. /bundle errors use status/error/message.
  - object
    - `error` true, required
    - `message` union, required
      - string
      - string[]
    - `status` integer, required: HTTP status code.
  - object
    - `message` string, required
    - `statusCode` integer, required: HTTP status code.

## Other responses

- `401`: Unauthorized - missing or invalid JWT token or admin API key
- `403`: Forbidden - user is not admin or overseer
- `404`: Token not found - tokenName does not match any existing pool
- `500`: Internal server error - failed to remove ban from database

---

[API](https://skmtc.dev/gala/apis/launchpad-backend-api.md) - [All operations](https://skmtc.dev/gala/apis/launchpad-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gala/apis/launchpad-backend-api/revisions/74545971be2b?raw)
