---
title: "Delete a list"
method: DELETE
path: "/api/lists/{list_name}"
tags: ["Static Lists"]
---

# Delete a list

`DELETE /api/lists/{list_name}`

## Request

- Base URL: `https://go.urbanairship.com`
- URL: `https://go.urbanairship.com/api/lists/{list_name}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
  - OAuth 2
    - Client credentials
    - Token URL: `http://oauth2.{domain}.com/token` scopes: `lst`
- TypeScript: <https://skmtc.dev/airship/apis/airship-api/docs/api/lists/:list_name/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a static list.

## Path parameters

- `list_name` string, required

## Response `204`

An API request was successful, but there is no response body to return.

## Other responses

- `401`: Authentication information (the app key and secret or bearer token) was either incorrect or missing.
- `403`: You cannot delete or modify lists with a `ua_` prefixed `name`.
- `404`: The requested resource doesn't exist.

---

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