> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voyantcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Disable Marketplace Product

> Hide a marketplace product that was previously enabled for your workspace.

## Method

`DELETE` `/v1/marketplace/products/:productId/disable`

Requires the `catalog:write` scope and workspace context.

## Path Parameters

<ParamField path="productId" type="string" required>Marketplace product ID to hide.</ParamField>

## Headers

<ParamField header="Authorization" type="string" required>Bearer token (e.g. <code>Authorization: Bearer YOUR\_API\_KEY</code>)</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.voyantcloud.com/v1/marketplace/products/mp_prod_citybreaks_rome/disable" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const res = await fetch("https://api.voyantcloud.com/v1/marketplace/products/mp_prod_citybreaks_rome/disable", {
    method: "DELETE",
    headers: { Authorization: `Bearer ${process.env.VOYANT_API_KEY}` },
  })
  const body = await res.json()
  ```

  ```python Python theme={null}
  import os, requests

  resp = requests.delete(
    "https://api.voyantcloud.com/v1/marketplace/products/mp_prod_citybreaks_rome/disable",
    headers={"Authorization": f"Bearer {os.environ['VOYANT_API_KEY']}"},
  )
  data = resp.json()
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  { "ok": true, "removed": true }
  ```
</ResponseExample>

<Note>
  The operation is safe to call multiple times. If the product is already hidden, the response still
  returns `{ "removed": true }` after confirming no active entry remains.
</Note>
