Skip to main content
Key stores

Delete key store

DELETE/v4/config/ows/key-management/key-stores/{keyStoreId}

Deletes a key store that the organisation added. Send the body {"confirm": "DELETE"}.

The key store must have no keys, and a retired key counts: a key that Delete key retired stays in its key store as evidence until the organisation is purged. So keyCount and retiredKeyCount of the key store must both be 0. The wallet deletes only its own record of the key store; nothing changes at the provider. A local key store cannot be deleted. A call with a sandbox API key deletes the key store of the main organisation.

Authorizations

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:keys:delete

Path parameters

  • keyStoreIdstringrequired

    The key store ID, from List key stores. local-openbao or local-hsm for a local key store of the installation, else the id that Create key store returned.

    At most 64 characters.

    Example:"local-openbao"

Body

application/json

The confirmation of the delete.

  • confirmenum<string>required

    Must be DELETE.

    Available options:DELETE

    Example:"DELETE"

Response

Deleted. No body.

No body.