DELETE
/
artist
/
{id}
/
splits
/
{type}
Delete default splits by type for an artist
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/artist/{id}/splits/{type} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Successfully deleted 2 split(s) for type: default",
  "result": {
    "type": "default",
    "deletedCount": 2
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Artist ID

type
string
required

Type of splits to delete

Response

200
application/json

Splits deleted successfully

The response is of type object.