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}"
Body
application/json
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/split/bulk/catalog-splits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ids": [
    "d1c5b49e-95fa-4aed-930e-cf314c16a53d",
    "e2d6c5af-96gb-5bed-a41f-df425d27b64e",
    "f3e7d6bg-a7hc-6cfe-b52g-eg536e38c75f"
  ],
  "type": "asset"
}'{
  "message": "Asset splits deletion completed.",
  "totalProcessed": 3,
  "totalSplitsDeleted": 7,
  "failedDeletions": []
}Bulk Delete Catalog Splits
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/split/bulk/catalog-splits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ids": [
    "d1c5b49e-95fa-4aed-930e-cf314c16a53d",
    "e2d6c5af-96gb-5bed-a41f-df425d27b64e",
    "f3e7d6bg-a7hc-6cfe-b52g-eg536e38c75f"
  ],
  "type": "asset"
}'{
  "message": "Asset splits deletion completed.",
  "totalProcessed": 3,
  "totalSplitsDeleted": 7,
  "failedDeletions": []
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/split/bulk/catalog-splits', {
  method: 'DELETE',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"