Skip to main content
Permanently deletes a product or service from the catalog. This action cannot be undone.

Authentication

Requires a valid Bearer token. The authenticated user must be an owner or admin of the organization.

Path Parameters

ParameterTypeRequiredDescription
organizationIdstring (UUID)YesOrganization ID
productIdstring (UUID)YesProduct ID

Example Request

curl -X DELETE http://localhost:3001/api/organizations/550e8400-e29b-41d4-a716-446655440000/products/590ce6c56d04f840aa8438af \
  -H "Authorization: Bearer <your_token>"

Response

Returns 204 No Content on success.

Common Errors

404 Not Found

Product does not exist or does not belong to the organization.
{
  "statusCode": 404,
  "message": "Product not found"
}