Skip to main content

delete

plugin.kvStore.delete(instanceId: string, namespace: string, key: string): Promise<KVDeleteResponse>

Delete a value from the KV store

Parameters

ParameterTypeRequiredDescription
instanceIdstringYesInstance ID
namespacestringYesNamespace
keystringYesKey

Returns

Promise<KVDeleteResponse>

Example

import plugin from '@codebolt/plugin-sdk';

const result = await plugin.kvStore.delete('instanceId', 'namespace', 'key');
console.log(result);