This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/file/royalty/decompress/{tenant}/{id} \
  --header 'Authorization: Bearer <token>'{
  "success": true,
  "message": "File processed successfully"
}Decompresses and processes a previously uploaded royalty file by tenant and file ID.
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/file/royalty/decompress/{tenant}/{id} \
  --header 'Authorization: Bearer <token>'{
  "success": true,
  "message": "File processed successfully"
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/file/royalty/decompress/example-id/example-id', {
  method: 'PUT',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({})
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"