removeWatcher
client.updateRequests.removeWatcher(id: string, watcherId: string): Promise<unknown>
Remove a watcher from a request
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | |
watcherId | string | Yes |
Returns
Promise<unknown>
Example
import { CodeBoltClient } from '@codebolt/clientsdk';
const client = new CodeBoltClient();
const result = await client.updateRequests.removeWatcher('id', 'watcherId');
console.log(result);