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 POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/asset/bulksplits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "assets": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'{
  "success": true,
  "message": "<string>",
  "data": {}
}Update splits for multiple assets in a single request.
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/asset/bulksplits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "assets": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'{
  "success": true,
  "message": "<string>",
  "data": {}
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/asset/bulksplits', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "assets": [
      {}
    ]
  })
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"