This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/bulk/deletesplit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "productIds": [
    "<string>"
  ],
  "userId": "<string>"
}'{
  "message": "Splits deleted successfully",
  "updatedCount": 8
}/product/bulk/deletesplit
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/bulk/deletesplit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "productIds": [
    "<string>"
  ],
  "userId": "<string>"
}'{
  "message": "Splits deleted successfully",
  "updatedCount": 8
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/product/bulk/deletesplit', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "productIds": [
      {}
    ],
    "userId": "sample-userId"
  })
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"