Skip to main content
PUT
/
file
/
royalty
/
decompress
/
{tenant}
/
{id}
Process/Decompress Royalty File
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"
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Code Examples

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);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

tenant
string
required

Tenant identifier

id
string
required

File identifier

Response

File processed successfully

success
boolean
default:true
message
string