Skip to main content
GET
/
v1
/
consent
/
login
/
{login}
List all consents by login
curl --request GET \
  --url http://localhost:3000/v1/consent/login/{login} \
  --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
    }
  ]
}

Authorizations

X-Bunker-Token
string
header
required

Root access token for Databunker API

Path Parameters

login
string
required

User login name

Response

Consents retrieved successfully

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

"ok"

consents
object[]