forked from docs/doc-exports

ModelArts GA API 06052022 from R&D R&D has provided a right version of ModelArts GA API (06052022) Reviewed-by: Artem Goncharov <Artem.goncharov@gmail.com>
7.9 KiB
7.9 KiB
Deleting a Labeling Team
Function
This API is used to delete a labeling team.
URI
DELETE /v2/{project_id}/workforces/{workforce_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
workforce_id |
Yes |
String |
ID of a labeling team. |
Request Parameters
None
Response Parameters
Status code: 204
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. The options are as follows: - 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.
Parent topic: Labeling Team Management