---
title: "Delete a coupon"
method: DELETE
path: "/v1/coupons/{couponId}"
tags: ["Coupons"]
---

# Delete a coupon

`DELETE /v1/coupons/{couponId}`

## Request

- Base URL: `https://api.yuvexpay.com`
- URL: `https://api.yuvexpay.com/v1/coupons/{couponId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/yuvexpay/apis/yuvexpay-api/docs/v1/coupons/:couponId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a coupon. Requires the `coupons:write` scope. The coupon is deactivated and kept for the payments that used it, but it no longer appears in the list, `GET` returns `404`, and its code can be used by a new coupon. A payment that already holds the coupon keeps its discount.

## Path parameters

- `couponId` string, uuid, required

## Response `200`

Coupon deleted.

- object
  - `message` string

## Other responses

- `401`: Missing or invalid authentication token.
- `403`: The API key is valid but does not have the required scope for this endpoint.
- `404`: Resource not found.

## Changes

- **2026-10-31** `5236ef291a8e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/yuvexpay/apis/yuvexpay-api/changes/v1/coupons/:couponId/delete.md)

---

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