Update trust authority
PUT/v2/config/digital-wallet/openid/trust-authority/:trustAuthorityId
Updates one trust authority of the organisation. The update is partial; send only the fields to change. The service checks the new value against the type after the update.
Request
Path Parameters
Unique identifier (UUID) of a trust authority of the organisation. A value that is not a UUID gives HTTP 400.
- application/json
Body
required
The new values of the trust authority.
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.
Possible values: non-empty and <= 2048 characters
For ETSI_TL and ETSI_TL_JSON, the HTTP or HTTPS URL of the list. For X509_CA, PEM text with 1 to 10 CA certificates (basicConstraints cA=TRUE, not expired) and, optionally, up to 10 CRLs that these CAs signed. A private key is refused. At most 65536 characters.
Possible values: non-empty and <= 255 characters
Name of the trust authority, 1 to 255 characters. The service shows this name in the dashboard.
Responses
- 200
- 400
- 401
- 404
- 500
The service updated the trust authority.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
trustAuthority objectrequired
The trust authority after the update.
Unique identifier (UUID) of the trust authority.
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.
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 of the trust authority. The value is an empty string when the create or update request gave no name.
When true, this trust authority is disabled and not used for credential or verifier trust validation.
Unix timestamp (in seconds) when this trust authority was registered.
Unix timestamp (in seconds) when this trust authority was last modified.
{
"trustAuthority": {
"id": "b7d1f4a2-8c3e-4a91-9f52-0d3c6e7a1b45",
"type": "ETSI_TL",
"value": "https://raw.githubusercontent.com/EWC-consortium/ewc-trust-list/refs/heads/main/EWC-TL.xml",
"name": "EU Trust List",
"disabled": false,
"createdAt": 1747011600,
"updatedAt": 1747011600
}
}
The trust authority ID is not a UUID, or a field is empty or not valid.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
The organisation has no trust authority with this ID.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}