Set the default split for an asset.
curl --request PUT \
--url https://server26-dot-royalti-project.uc.r.appspot.com/asset/{id}/setdefaultsplit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"share": 50
}'
{
"success": true,
"message": "<string>",
"data": {}
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Asset ID
Default split set successfully
The response is of type object
.
curl --request PUT \
--url https://server26-dot-royalti-project.uc.r.appspot.com/asset/{id}/setdefaultsplit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"share": 50
}'
{
"success": true,
"message": "<string>",
"data": {}
}