• Create a consent definition using dsconfig create-consent-definition.
    $ bin/dsconfig create-consent-definition \
      --definition-name email_newsletter \
      --set "display-name:Email newsletter"
  • Create a localization for the consent definition using dsconfig create-consent-definition-localization.
    $ bin/dsconfig create-consent-definition-localization \
      --definition-name email_newsletter \
      --localization-name en-US \
      --set version:1.0 \
      --set "data-text:Your email address" \
      --set "purpose-text:To receive newsletter updates"
  • Update a localization and the version using dsconfig set-consent-definition-localization-prop and set version.
    The following example updates a localization and its version.
    $ bin/dsconfig set-consent-definition-localization-prop \
      --definition-name email_newsletter \
      --localization-name en-US \
      --set version:1.1 \
      --set "data-text:Your preferred email address"