Skip to main content
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
  }
}
artist//splits/ Description:
Deletes all default splits for a specific artist and split type.
Method:
DELETE
Path Parameters:
ParameterTypeDescription
idstringThe unique identifier of the artist.
typestringThe type of splits to delete (e.g., ‘default’, ‘mechanical’, etc.)

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathArtist ID
typestringpathType of splits to delete

Responses

✅ 200 - Splits deleted successfully

⚠️ 401 - undefined

⚠️ 404 - undefined

❌ 500 - undefined

Tags

Artist

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

Splits deleted successfully

message
string
Example:

"Successfully deleted 2 split(s) for type: default"

result
object
I