DELETE
/
product
/
{id}
Delete Product
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Product was deleted successfully."
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Product ID

Response

200
application/json

Success

The response is of type object.