Compliance / CASL

Revoke CASL consent for a phone number

Revokes consent records for the given number. Every SMS to it is then refused with NO_CONSENT until consent is recorded again. Opt-outs are separate: an opt-out (POST /opt-outs) blocks sends even when consent is on file, and only the recipient can lift it.

Requires compliance:m or compliance:d (any of).

delete/v1/compliance/consents/{phone}

Request

  • Base URL: https://api.honkio.ca
  • URL: https://api.honkio.ca/v1/compliance/consents/{phone}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

phonestring required

Response

Every active consent for the number is revoked.

Changes

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