> ## Documentation Index
> Fetch the complete documentation index at: https://docs.platform.toloka.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# client.expertLists.removeExperts()

> Remove experts from an expert list.

Calls the [POST endpoint](https://docs.platform.toloka.ai/docs/api-reference/expert-lists/remove-expert-list-experts.md).

## Signature

Method signature on `client.expertLists`:

```ts theme={null}
removeExperts(args: {
  expertListId: string;
  expertIds: string[];
}): Promise<ExpertChangeResult>;
```

## Parameters

**expertListId** `string` *required*

ID of the expert list, with prefix `exl.`.

**expertIds** `string[]` *required*

IDs of the experts to remove.

## Returns

`Promise<ExpertChangeResult>`

**changedCount** `number` *required*

Number of experts added or removed.

## Errors

HTTP errors throw [`PotatoApiError`](https://docs.platform.toloka.ai/docs/sdk/errors). The endpoint documents these error responses:

| Status | Description |
| - | - |
| 404 | Project or expert list not found, or not available for it |
| 429 | Rate limit exceeded |

HTTP endpoint: [`POST /expert-lists/{expertListId}/experts/remove`](https://docs.platform.toloka.ai/docs/api-reference/expert-lists/remove-expert-list-experts).

```ts removeExperts() theme={null}
import { createClient } from "@toloka-platform/sdk";

const client = createClient({
  baseUrl: "https://platform.toloka.ai",
  apiKey: process.env.TOLOKA_API_KEY!,
});

const expertChangeResult = await client.expertLists.removeExperts({
  expertListId: "exl.019a0000-0000-7000-8000-000000000001",
  expertIds: [
    "example"
  ]
});
console.log(expertChangeResult);
```

```json removeExperts() theme={null}
{
  "changedCount": 0
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.