Force an update for a credential reference
Mark every active credential bundle held against the specified credential reference as requiring an update. The next time each wallet checks for an update with its refresh token, MATTR VII issues a new credential into its bundle instead of responding with 204 No Content, even when the version the wallet holds is current.
This request does not notify the wallets or issue credentials by itself. Bundles that are not active are not affected.
Credential update is offered as a closed preview feature and is not generally available yet. Its behavior may change in a way that breaks existing integrations before it becomes generally available. To enable it on your tenant, contact us.
Roles
Analytics Events
bearerAuthAuthorizationBearer <JWT>credentialReferenceId*stringThe credential reference ID represents a link between a user and a credential profile, and is used to manage credentials for the user. Each credential reference ID is unique to a combination of user, credential type and, when the credential is issued against a claim set, claim set identifier. It stays the same across every device the credential is claimed on and every time the credential is updated, and is returned in the response when retrieving credential references.
uuidThe credential bundles that were marked as requiring an update. Empty when the credential reference has no active bundles.
application/json- response
credentialBundles*array<>The credential bundles that were marked as requiring an update. Empty when the credential reference has no active bundles.
curl -X POST 'https://example.vii.au01.mattr.global/v1/users/credential-references/a248d6c9-3f5e-4b2a-9c1e-2f3b4c5d6e7f/update'{ "credentialBundles": [ { "userId": "41458e5a-9092-40b7-9a26-d4eb43c5792f", "id": "e123f4a5-6b7c-8901-2345-67890abcdef2", "issuanceProtocol": "openid4vci", "credentialReferenceId": "a248d6c9-3f5e-4b2a-9c1e-2f3b4c5d6e7f", "credentialConfigurationId": "707e920a-f342-443b-ae24-6946b7b5033e", "credentialProfile": "mobile", "credentialType": "org.iso.18013.5.1.mDL", "state": "active" } ]}How would you rate this page?
Assign a claim set to a credential reference PUT
Assign a claim set identifier to an existing credential reference that was issued without one. Use this to migrate credentials issued before you adopted [claim sets](https://learn.mattr.global/docs/issuance/claim-sets/overview), without issuing them again. The claim set identifier is applied to the credential reference and every credential bundle held against it. The `credentialReferenceId` and every `credentialBundleId` stay the same. The grants that authorized the credential bundles are updated with the claim set identifier, so credentials issued or updated under them from then on are issued for that claim set. A claim set identifier can only be assigned once. The request is rejected with a `409` response if the claim set identifier conflicts with an existing credential reference or credential bundle, for example when the user already holds a credential of the same type issued for that claim set identifier. Claim set identifiers are offered as an **open preview** feature and are not generally available yet. They are available on all tenants, and their behavior may change in a way that breaks existing integrations before they become generally available.
Retrieve all credential bundles for a credential reference GET
Retrieve all credential bundles associated with the specified credential reference. A credential bundle is one credential, for one credential type and claim set, as it sits in one wallet instance. It can hold several instances of that credential, such as the new versions issued by each update.