Skip to main content

Toggle trust authority

PUT 

/v2/config/digital-wallet/openid/trust-authority/:trustAuthorityId/disable

Enables or disables a trust authority. A disabled trust authority is not used for credential or verifier trust validation. Give the wanted end state in disabled.

Request​

Path Parameters

    trustAuthorityId uuidrequired

    Unique identifier (UUID) of a trust authority of the organisation. A value that is not a UUID gives HTTP 400.

    Example: b7d1f4a2-8c3e-4a91-9f52-0d3c6e7a1b45

Body

required
    disabled booleanrequired

    When true, the trust authority is disabled. When false, it is enabled.

Responses​

The updated trust authority record.

Response Headers
    Schema
      trustAuthority objectrequired

      The trust authority after the change.

      id stringrequired

      Unique identifier (UUID) of the trust authority.

      type stringrequired

      Possible values: [ETSI_TL, ETSI_TL_JSON, X509_CA]

      Type of the trust authority: ETSI_TL (an ETSI TS 119 612 trusted list in XML), ETSI_TL_JSON (an ETSI TS 119 602 list of trusted entities in JSON) or X509_CA (CA certificates in PEM). The service changes the value to upper case.

      value stringrequired

      For ETSI_TL and ETSI_TL_JSON, the URL of the list. For X509_CA, the PEM text of the CA certificates and CRLs, in a normalised form.

      name stringrequired

      Name of the trust authority. The value is an empty string when the create or update request gave no name.

      disabled booleanrequired

      When true, this trust authority is disabled and not used for credential or verifier trust validation.

      createdAt numberrequired

      Unix timestamp (in seconds) when this trust authority was registered.

      updatedAt numberrequired

      Unix timestamp (in seconds) when this trust authority was last modified.

    Loading...