curl --request DELETE \
--url https://api.royalti.io/split/{id} \
--header 'Authorization: Bearer <token>'{
"message": "Split was deleted successfully."
}/split/
curl --request DELETE \
--url https://api.royalti.io/split/{id} \
--header 'Authorization: Bearer <token>'{
"message": "Split was deleted successfully."
}Documentation Index
Fetch the complete documentation index at: https://apidocs.royalti.io/llms.txt
Use this file to discover all available pages before exploring further.
/split/{splitId} endpoint deletes the split with the specified splitId from the system.
Method:DELETE
const response = await fetch('https://api.royalti.io/split/example-id', {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);