organizations
legal_documents
Delete an unsigned legal document. The PandaDoc envelope is voided first so the original signer can no longer complete it; only if that succeeds is the row removed, freeing the unique-per-org-per-type constraint so a fresh document can be generated.
Returns 503 if the PandaDoc void fails — the row stays in that case and the frontend should prompt the user to retry. Returns 403 for signed documents (legal artifacts; staff can still delete signed rows from Django admin).
delete/api/organizations/{organization_id}/legal_documents/{id}/
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/organizations/{organization_id}/legal_documents/{id}/
- Auth: HTTP bearer
Path parameters
idstring required
organization_idstring required
ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.
Response
No response body
Changes
No recorded changes to this operation across all 1 revision of this API.