This endpoint requires authentication. Include your Bearer token in the Authorization header.
Permanently deletes a royalty file, its BigQuery table, and Cloud Storage file.
const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/file/royalty/example-id', {
  method: 'DELETE',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});
const data = await response.json();
console.log(data);