Delete PDF
Send a DELETE request to this endpoint to delete a generated PDF and its file.
ℹ️
You will need to authenticate to use this API. See authentication.
⚠️
This action is irreversible. Once a PDF is deleted, it cannot be recovered.
Request
DELETE https://api.ojo.so/v1/pdf/:pdfIdTo delete up to 50 PDFs at once, send DELETE https://api.ojo.so/v1/pdf with the JSON body
{ "pdfIds": ["<PDF ID>", "<PDF ID>"] }. The response lists which ids were deleted and which
failed.
cURL
curl --request DELETE \
--url https://api.ojo.so/v1/pdf/<PDF ID> \
--header 'Authorization: Bearer <API Key>'Response
200
PDF successfully deleted.
{
"deleted": true
}