POST
/
product
/
bulk
/
delete
Delete Bulk Products
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/bulk/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "productIds": [
    "<string>"
  ]
}'
{
  "message": "Products deleted successfully",
  "deletedCount": 5
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Success

The response is of type object.