Skip to main content
DELETE
Delete Product
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

/product/ Description: The /product/{id} endpoint allows deleting a specific product identified by its unique ID. Authorization:
  • Required role: admin or higher
Method: DELETE Path Parameter:

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

Product ID

Response

Success

message
string