---
title: "Unpublish Product"
method: POST
path: "/{client_id}/products/{id}/unpublish/"
---

# Unpublish Product

`POST /{client_id}/products/{id}/unpublish/`

## Request

- Base URL: `https://cf-blast.livelikecdn.com/api/v1/applications`
- URL: `https://cf-blast.livelikecdn.com/api/v1/applications/{client_id}/products/{id}/unpublish/`
- Auth: API key in header `Authorization`

Takes a published product off sale. It takes no request body. Requires a producer access token for the application.

Only a published product can be unpublished. An unpublished product can be edited again with Update Product and published again with Publish Product. A product that was ever published can't be deleted.

The response is the full product, in the same shape as Retrieve Product.

## Path parameters

- `client_id` string, required
- `id` string, uuid, required

## Response `200`

OK. The product is returned with state unpublished.

- object
  - `id` string, uuid
  - `name` string
  - `state` 'draft' | 'published' | 'unpublished'
  - `display_status` 'draft' | 'unpublished' | 'published' | 'coming_soon' | 'expired'
  - `updated_at` string, date-time

## Other responses

- `400`: The product isn't published.
- `401`: Missing or invalid access token.
- `403`: The token is not a producer token for this application.
- `404`: No product with this ID in the application.

---

[API](https://skmtc.dev/livelike/apis/applications.md) - [All operations](https://skmtc.dev/livelike/apis/applications/llms.txt) - [OpenAPI document](https://skmtc.dev/livelike/apis/applications/revisions/841be2451373?raw)
