Skip to main content

Delete key store

DELETE 

/v2/config/digital-wallet/openid/key-management/key-stores/:keyStoreId

Deletes a key store that the organisation added. The key store must have no keys of the organisation: delete them first with the delete key operation. The wallet deletes only its record of the key store. It never deletes a key in the key store of the provider (a vault, a cloud KMS, a DPoD partition or a QTSP).

This operation needs a request body: send {"confirm": "DELETE"}. A local key store cannot be deleted. A sandbox organisation cannot delete a key store.

Request​

Path Parameters

    keyStoreId stringrequired

    Possible values: <= 64 characters

    Unique identifier of the key store. local-openbao, local-database or local-hsm for a key store of the installation, else the identifier that the create key store operation returned.

    Example: local-openbao

Body

required

Confirmation of the delete operation.

    confirm stringrequired

    Possible values: [DELETE]

    Confirmation string. Set the value to DELETE.

Responses​

Key store deleted successfully. The response body is empty.

Response Headers
    Loading...