Change the purposes of an identifier key
PATCH/api/v1/wallets/:walletExternalKey/identifiers/:identifierExternalKey/keys/:walletKeyExternalKey
| URL | Description |
|---|---|
| https://wallet.acc.credenco.com | Generated server url |
Replaces the purposes of a key linked to the identifier and regenerates the DID document. Only supported by did:web and did:webvh identifiers; other types return 422.
Required Role
| Role | Description |
|---|---|
WALLET_IDENTIFIER_CRUD | Create, read, update and delete identifiers |
Request
Responses
- 200
- 401
- 403
- 404
- 422
Key updated successfully
Unauthorized.
Forbidden.
Identifier or key not found.
Invalid request body (e.g. empty purposes), or identifier type does not support key changes.