Archive product
POST/v1/products/:id/archive
Archives the product. Returns 422 when the product is in use by active subscriptions or is already archived.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 500
Product archived.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.