Skip to main content
DELETE
/
v1
/
consent
/
token
/
{token}
/
{brief}
Withdraw consent by user token
curl --request DELETE \
  --url http://localhost:3000/v1/consent/token/{token}/{brief} \
  --header 'X-Bunker-Token: <api-key>'
{
  "status": "ok"
}

Authorizations

X-Bunker-Token
string
header
required

Root access token for Databunker API

Path Parameters

token
string<uuid>
required

User token (UUID)

brief
string
required

Consent brief (unique identifier, max 64 chars)

Maximum string length: 64

Response

Consent withdrawn successfully

status
enum<string>
required
Available options:
ok
Example:

"ok"