curl --request DELETE \
--url https://api.royalti.io/asset/{id} \
--header 'Authorization: Bearer <token>'{
"message": "Asset deleted successfully"
}Delete a specific asset by its ID.
curl --request DELETE \
--url https://api.royalti.io/asset/{id} \
--header 'Authorization: Bearer <token>'{
"message": "Asset 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.
const response = await fetch('https://api.royalti.io/asset/example-id', {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);