Skip to content
Get started

Delete context (soft)

client.v1.contexts.delete(stringcontextID, ContextDeleteParams { spaceId } params?, RequestOptionsoptions?): void
DELETE/api/v1/contexts/{contextId}

Increments the Replicache space version via repVersionIncrement after writing.

ParametersExpand Collapse
contextID: string
params: ContextDeleteParams { spaceId }
spaceId?: string

Optional space id; when omitted, the user’s default space is used.

Delete context (soft)

import Fluidwave from 'fluidwave';

const client = new Fluidwave();

await client.v1.contexts.delete('contextId');
Returns Examples