curl --request GET \
--url http://localhost:3000/v1/consent/token/{token} \
--header 'X-Bunker-Token: <api-key>'{
"status": "ok",
"consents": [
{
"brief": "<string>",
"status": "accept",
"message": "<string>",
"who": "<string>",
"starttime": 123,
"endtime": 123,
"lawfulbasis": "<string>",
"module": "<string>",
"referencecode": "<string>",
"lastmodifiedby": "<string>",
"created": 123,
"updated": 123
}
]
}Returns all consent records for a user
curl --request GET \
--url http://localhost:3000/v1/consent/token/{token} \
--header 'X-Bunker-Token: <api-key>'{
"status": "ok",
"consents": [
{
"brief": "<string>",
"status": "accept",
"message": "<string>",
"who": "<string>",
"starttime": 123,
"endtime": 123,
"lawfulbasis": "<string>",
"module": "<string>",
"referencecode": "<string>",
"lastmodifiedby": "<string>",
"created": 123,
"updated": 123
}
]
}Root access token for Databunker API
User token (UUID)
Consents retrieved successfully
ok "ok"
Show child attributes
accept, cancel, expired