Skip to main content
Ban experts so they cannot be invited to the project and are removed from the work they are already in. The request is rejected when any of the experts is already banned.

Signature

Method signature on client.expertBanList:

Parameters

string
required
Project ID with prefix pp..
string[]
required
IDs of the experts to ban.
string
required
Why the experts are banned; applied to every expert in the request.

Returns

Promise<ExpertChangeResult>
number
required
Number of experts added or removed.

Errors

HTTP errors throw PotatoApiError. The endpoint documents these error responses: HTTP endpoint: POST /projects/{projectId}/expert-ban-list/experts/add.