---
title: "Delete a product voucher. Roles: admin."
method: DELETE
path: "/api/product-vouchers/{productVoucherId}"
tags: ["Product Vouchers"]
---

# Delete a product voucher. Roles: admin.

`DELETE /api/product-vouchers/{productVoucherId}`

## Request

- Base URL: `https://api.mobilecoach.org` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mobilecoach.org/api/product-vouchers/{productVoucherId}`
- Auth: `AuthToken` (a scheme the document does not define)

## Path parameters

- `productVoucherId` integer, required

## Response `200`

OK

- BaseResponse
  - `success` boolean
  - `error` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Internal server error

## Changes

- **2026-09-02** `870f28ba2607`: 5 info
  - added the optional property `error/errorId` to the response with the `400` status
  - added the optional property `error/errorId` to the response with the `401` status
  - added the optional property `error/errorId` to the response with the `403` status
  - added the optional property `error/errorId` to the response with the `404` status
  - …1 more

[Operation history](https://skmtc.dev/mobilecoach/apis/untitled-api/changes/api/product-vouchers/:productVoucherId/delete.md)

---

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