compliance

Revoke Consent Record

Revoke a consent record: sets revoked_at and granted = false.

Idempotent: revoking an already-revoked record returns it unchanged. The row is kept (consent history is compliance evidence). Another org's record is invisible under RLS and reads as 404.

post/v1/compliance/consent/{claim_id}/{consent_id}/revoke

Request

  • Base URL: https://api.claims.zicron.ai
  • URL: https://api.claims.zicron.ai/v1/compliance/consent/{claim_id}/{consent_id}/revoke
  • Auth: none declared

Path parameters

claim_idstring required
consent_idstring required

Response

Successful Response

idstring required
claim_idstring required
consent_typestring required
grantedboolean
granted_bystring nullable
granted_atstring required
expires_atstring nullable
revoked_atstring nullable
scopestring nullable
metadataobject

Changes

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