curl --request DELETE \
--url https://api.royalti.io/labels/{labelId}/artists/{artistId} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "Artist removed from label successfully"
}Remove Artist from Label
curl --request DELETE \
--url https://api.royalti.io/labels/{labelId}/artists/{artistId} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "Artist removed from label successfully"
}const response = await fetch('https://api.royalti.io/labels/example-id/artists/example-id', {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"