cURL
curl --request DELETE \ --url http://localhost:3000/v1/consent/phone/{phone}/{brief} \ --header 'X-Bunker-Token: <api-key>'
{ "status": "ok" }
Withdraws consent for a user identified by phone
Root access token for Databunker API
User phone number
Consent brief (unique identifier, max 64 chars)
64
Consent withdrawn successfully
ok
"ok"