method
RiduClient.releaseDocumentLock
Release a document lock owned by the current user.
Arguments
| Argument | Type | Description |
|---|---|---|
collection | Slug | The collection value. |
id | string | The id value. |
options | RequestOptions | | The options value. |
Returns
The declared result.
Promise<DeleteEnvelope>Full signature
RiduClient.releaseDocumentLock<Slug extends CollectionSlug<Config>>(
collection: Slug,
id: string,
options?: RequestOptions,
): Promise<DeleteEnvelope>Related types
CollectionSlugThe generated union of collection slugs.
RequestOptionsOptions shared by every request.
DeleteEnvelopeA successful delete response.