Delete key store
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
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
keys:delete
Path parameters
keyStore Id stringrequiredThe key store ID, from List key stores.
local-openbaoorlocal-hsmfor a local key store of the installation, else theidthat Create key store returned.At most 64 characters.
Example:
"local-openbao"
Body
The confirmation of the delete.
confirmenum<string>requiredMust be
DELETE.Available options:
DELETEExample:
"DELETE"
Response
Deleted. No body.
No body.