Policies
Delete a policy version PDF
Changed onDeletes the PDF from a specific policy version. If no versionId is provided, deletes from the latest draft version. Cannot delete PDFs from published or pending-approval versions.
delete/v1/policies/{id}/pdf
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Path parameters
idstring required
Example:pol_abc123def456
Policy ID
Query parameters
versionIdstring
Target version ID. If omitted, targets the latest draft version.
Headers
X-Organization-Idstring
Organization ID (required for session auth, optional for API key auth)
Changes
- info
the endpoint scheme security
oauth2was removed from the API
- info
- info
the endpoint scheme security
oauth2was added to the API
- info