Skip to main content
PUT
/
asset
/
bulk
/
defaultsplit
Set default split for multiple assets
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/asset/bulk/defaultsplit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "assets": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "share": 50
}'
{
  "success": true,
  "message": "<string>",
  "data": {}
}
Set the default split for multiple assets in a single request. Request Body:
  • assets (array): Array of asset IDs
  • userId (string): User ID for the default split
  • share (number): Share percentage (0-100)

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Request Body

Request Schema

FieldTypeRequiredDescription
assetsarray
userIdstring
sharenumber

Responses

✅ 200 - Default splits updated successfully

⚠️ 400 - undefined

⚠️ 401 - undefined

❌ 500 - undefined

Tags

Asset

Authorizations

Authorization
string
header
required

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

Body

application/json
assets
string<uuid>[]
userId
string<uuid>
share
number
Required range: 0 <= x <= 100

Response

Default splits updated successfully

success
boolean
Example:

true

message
string
data
object
I