Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
6.5 KiB
Updating a Labeling Team Member
Function
This API is used to update a labeling team member.
URI
PUT /v2/{project_id}/workforces/{workforce_id}/workers/{worker_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. |
worker_id |
Yes |
String |
ID of a labeling team member. |
workforce_id |
Yes |
String |
ID of a labeling team. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
description |
No |
String |
Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"' |
role |
No |
Integer |
Role. The options are as follows:
|
Response Parameters
None
Example Requests
Updating a Labeling Team Member
{ "description" : "My name is Tom", "role" : 2 }
Example Responses
Status code: 200
OK
{ }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
Error Codes
See Error Codes.