This endpoint requires authentication. Include your Bearer token in the Authorization header.
 
Code Examples
const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/asset/example-id/setdefaultsplit', {
  method: 'PUT',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "userId": "sample-userId",
    "share": 1
  })
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Required range: 0 <= x <= 100
Default split set successfully