Skip to content

Remove restrictions

Clear all usage restrictions from a PDF. MCP tool remove_restrictions / HTTP POST /v1/restrictions/remove.

Clear permission-based restrictions (no-print, no-copy, no-modify, …) from a PDF so it can be used freely.

MCP tool remove_restrictions
HTTP endpoint POST /v1/restrictions/remove
Price $0.05
Input One PDF
Output The PDF with all usage restrictions cleared
Parameter Type Required Description
file file yes Source PDF.

Remove the usage restrictions from https://example.com/locked.pdf.

{
"file": "https://example.com/locked.pdf"
}
Terminal window
curl -i -X POST https://api.pdfasyougo.com/v1/restrictions/remove \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <base64-encoded-payment-payload>" \
-d '{"file":"https://example.com/locked.pdf"}'
{
"output": {
"url": "https://files.pdfasyougo.com/o/e58d…?token=…",
"expires_at": "2026-06-29T12:00:00Z",
"pages": 24,
"bytes": 186368
},
"operation": "restrictions.remove",
"cost": "0.05 USDC"
}
  • This clears permission restrictions (print/copy/modify and the like).
  • It does not remove an open password — if the file requires a password to open, use Remove password first.
  • Only clear restrictions on documents you’re authorized to modify.