Skip to main content
PUT
Updates the metadata of a user consent

Authorizations

Authorization
string
header
required

Body

application/json

The DTO containing the updated metadata

DTO for updating user consent metadata

Consent identifier

userId
string | null

User identifier

metadata
object | null

Metadata for user consent

Response

User consent metadata updated successfully

DTO, represents user accepted consent instance

Consent instance information

acceptedAt
string<date-time>
required

UTC date, when consent was accepted by user

expiresAt
string<date-time>
required

UTC date, when consent will expire

isActive
boolean
required
acceptedBy
string | null

Who accepted the consent. It can be a user, member service representative, etc.

activationSource
string | null

The source which triggered activation of UserConsent Possible values for Coop: "WEB" Internettet "EMAIL" E-mail "TELEF" Telefon "SKM" Skema "BUTIK" Samtykke i butik "MOAPP" MobilApp "M16AP" M16 MobilApp "FRDKA" Freemium APP DK "KNB" KNB NETOPRETTELSE

revokedAt
string<date-time> | null

UTC date, when consent was revoked Null if consent is active

revokedBy
string | null

Who revoked the consent. It can be a user, member service representative, etc.

revocationSource
string | null

The source which triggered revocation of UserConsent

metadata
object | null

Metadata for user consent

Last modified on August 10, 2026