Link a wallet key to an identifier
POST/api/v1/wallets/:walletExternalKey/identifiers/:identifierExternalKey/keys
| URL | Description |
|---|---|
| https://wallet.acc.credenco.com | Generated server url |
Adds an existing wallet key to the identifier with the given purposes 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
- 201
- 401
- 403
- 404
- 422
Key linked successfully
Unauthorized.
Forbidden.
Identifier or wallet key not found.
Invalid request body (e.g. empty purposes), identifier type does not support key changes, or the key is already linked.