curl --request DELETE \
--url https://api.royalti.io/labels/{labelId}/access/{tenantUserId} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "Access removed"
}Remove Label Access
curl --request DELETE \
--url https://api.royalti.io/labels/{labelId}/access/{tenantUserId} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "Access removed"
}const response = await fetch('https://api.royalti.io/labels/example-id/access/example-id', {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);