Deleting a Labeling Team

Function

This API is used to delete a labeling team.

Debugging

You can debug this API through automatic authentication in or use the SDK sample code generated by API Explorer.

URI

DELETE /v2/{project_id}/workforces/{workforce_id}

Table 1 Path Parameters

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.

Request Parameters

None

Response Parameters

Status code: 204

Table 2 Response body parameters

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:

  • true: The operation is successful.

  • false: The operation is failed.

Table 3 BatchResponse

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

success

Boolean

Check whether the operation is successful. Options:

  • true: The operation is successful.

  • false: The operation is failed.

Example Requests

Deleting a Labeling Team

DELETE https://{endpoint}/v2/{project_id}/workforces/{workforce_id}

Example Responses

Status code: 204

No Content

{ }

Status Codes

Status Code

Description

204

No Content

401

Unauthorized

403

Forbidden

Error Codes

See Error Codes.