Create consent by login
Consent
Create consent by login
Stores consent for a user identified by login
POST
Create consent by login
Documentation Index
Fetch the complete documentation index at: https://docs.databunker.org/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Root access token for Databunker API
Path Parameters
User login name
Consent brief (unique identifier, max 64 chars)
Maximum string length:
64Pattern:
^[a-z0-9-]+$Body
Consent status
Available options:
accept, cancel Text message describing consent
Free text for internal usage
Date & time to automatically enable consent (Unix time or duration like '10d')
Consent expiration date (Unix time or duration like '1m')
Legal basis for processing
Available options:
consent, contract-agreement, legal-obligations Module type (e.g., phone-consent, contract, app-consent, web-consent, email-consent)
Internal document or contract ID
Name of person who last modified this record
Response
Consent created successfully
Available options:
ok Example:
"ok"