Skip to content

SecretStorage.deleteSecret method

SecretStorage › deleteSecret

Unofficial

Deletes a secret from storage.

Signature:

deleteSecret(id: string): boolean

Parameters:

ParameterTypeDescription
idstringthe secret ID

Returns: booleanwhether a secret with the given ID existed and was deleted