Unlink a key from an identifier
DELETE/api/v1/wallets/:walletExternalKey/identifiers/:identifierExternalKey/keys/:walletKeyExternalKey
| URL | Description |
|---|---|
| https://wallet.acc.credenco.com | Generated server url |
Removes the key from the identifier and regenerates the DID document. The wallet key itself is not deleted. The last key of an identifier cannot be removed. 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
- 204
- 401
- 403
- 404
- 422
Key unlinked successfully
Unauthorized.
Forbidden.
Identifier or key not found.
Identifier type does not support key changes, or the key is the identifier's last key.