# Archive a product (sets lifecycle_status = archived) (/docs/api-reference/products/ProductsController_archive)

`POST /api/factories/{factoryId}/products/{id}/archive`

Base URL: https://api.xentr.ai

Authentication: bearer token (`Authorization: Bearer <token>`).

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `factoryId` | path | yes | string | Factory ID |
| `id` | path | yes | string | Product ID |

## Responses

### 200: Product archived