terms

Revoke terms acceptance

Withdraws the caller's own consent to a document by id (idempotent — revoking an unaccepted or already-revoked id is a no-op). The acceptance row is deleted, but the revocation itself is retained in the audit log for compliance. Revoking a MANDATORY document's acceptance will re-trip has_mandatory_pending on the next getMyTerms call.

delete/auth/me/terms/{id}

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/auth/me/terms/{id}
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Path parameters

idstring required

terms id

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.