---
title: "Deactivate a product"
method: DELETE
path: "/v1/products/{productId}"
tags: ["Products"]
---

# Deactivate a product

`DELETE /v1/products/{productId}`

## Request

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

Soft-delete a product by setting it as inactive. The product data is preserved but it can no longer be used in new payments.

## Path parameters

- `productId` string, uuid, required

## Response `200`

Product deactivated.

- object
  - `message` string

## Other responses

- `401`: Missing or invalid authentication token.
- `404`: Resource not found.

## Changes

- **2026-04-14** `c75657100757`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/yuvexpay/apis/yuvexpay-api/changes/v1/products/:productId/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/57fb2913ed0b?raw)
