This API is used to delete labeling team members in batches.
You can debug this API through automatic authentication in or use the SDK sample code generated by API Explorer.
POST /v2/{project_id}/workforces/{workforce_id}/workers/batch-delete
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain a project ID, see Obtaining a Project ID and Name. |
workforce_id |
Yes |
String |
ID of a labeling team. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
workers |
Yes |
Array of strings |
Team member ID list. |
Status code: 200
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
results |
Array of BatchResponse objects |
Result of deleting team members in batches. |
success |
Boolean |
Check whether the operation is successful. Options:
|
Deleting Labeling Team Members in Batches
{ "workers" : [ "89d4ae38431b8905449821605abdc3a9", "a2abd3f27b4e92c593c15282f8b6bd29" ] }
Status code: 200
OK
{ "success" : true, "results" : [ { "success" : true }, { "success" : true } ] }
Status Code |
Description |
---|---|
200 |
OK |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
See Error Codes.