doc-exports/docs/modelarts/api-ref/UpdateWorkforceTask.html
Beibei 525370b67d
ModelArts GA API 06052022 from R&D (#14)
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>
2022-05-23 16:26:34 +00:00

328 lines
24 KiB
HTML

<a name="UpdateWorkforceTask"></a><a name="UpdateWorkforceTask"></a>
<h1 class="topictitle1">Updating a Team Labeling Task</h1>
<div id="body755814719393"><div class="section" id="UpdateWorkforceTask__section14559194713917"><h4 class="sectiontitle">Function</h4><p id="UpdateWorkforceTask__p25610477399">This API is used to update a team labeling task.</p>
</div>
<div class="section" id="UpdateWorkforceTask__section1156304713912"><h4 class="sectiontitle">URI</h4><p id="UpdateWorkforceTask__p9565747153910">PUT /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateWorkforceTask__table13572547193916" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="UpdateWorkforceTask__row185698474399"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="UpdateWorkforceTask__p2057318476398">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="UpdateWorkforceTask__p7575204714391">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="UpdateWorkforceTask__p25786475395">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="UpdateWorkforceTask__p195824473391">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateWorkforceTask__row20569184714396"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateWorkforceTask__p15584947193912">dataset_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateWorkforceTask__p1558704783912">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateWorkforceTask__p13589194713392">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateWorkforceTask__p14591134773916">Dataset ID.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row205699476398"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateWorkforceTask__p15594547143910">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateWorkforceTask__p1459684718391">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateWorkforceTask__p459844743910">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateWorkforceTask__p06012473398">Project ID. For details about how to obtain the project ID, see <a href="modelarts_03_0147.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row145691474399"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateWorkforceTask__p560684718394">workforce_task_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateWorkforceTask__p1861094714393">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateWorkforceTask__p1961334743918">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateWorkforceTask__p196156476391">ID of a team labeling task.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateWorkforceTask__section20619204713399"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateWorkforceTask__request_UpdateWorkforceTaskReq" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="UpdateWorkforceTask__row16225479398"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="UpdateWorkforceTask__p862613471399">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="UpdateWorkforceTask__p16627134711397">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="UpdateWorkforceTask__p106291047193920">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="UpdateWorkforceTask__p106326477391">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateWorkforceTask__row76221147173914"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateWorkforceTask__p15634174713391">dataset_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateWorkforceTask__p17636194713917">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateWorkforceTask__p186381147153911">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateWorkforceTask__p1064120474399">Dataset ID.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row136221147123913"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateWorkforceTask__p4643194793918">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateWorkforceTask__p2645114718397">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateWorkforceTask__p364884715394">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateWorkforceTask__p136500478392">Team labeling task description. The value contains 0 to 256 characters and does not support the following special characters: ^!&lt;&gt;=&amp;"'</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row18622347133915"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateWorkforceTask__p1065364743919">task_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateWorkforceTask__p265516478395">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateWorkforceTask__p265744713397">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateWorkforceTask__p16659164710395">ID of a team labeling task.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row10622194793916"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateWorkforceTask__p56612474397">task_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateWorkforceTask__p6664747103915">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateWorkforceTask__p36671847173913">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateWorkforceTask__p367115477392">Team labeling task name. The value contains 1 to 64 characters and only letters, digits, underscores (_), and hyphens (-) are allowed.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row10622124723913"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateWorkforceTask__p1673164713395">workforces_config</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateWorkforceTask__p18677194743915">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateWorkforceTask__p1468034716391"><a href="#UpdateWorkforceTask__request_WorkforcesConfig">WorkforcesConfig</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateWorkforceTask__p136831447103917">Team labeling task information: Tasks can be assigned by the team administrator or a specified team.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="UpdateWorkforceTask__request_WorkforcesConfig"></a><a name="request_WorkforcesConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateWorkforceTask__request_WorkforcesConfig" frame="border" border="1" rules="all"><caption><b>Table 3 </b>WorkforcesConfig</caption><thead align="left"><tr id="UpdateWorkforceTask__row7686447123917"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="UpdateWorkforceTask__p136901747183916">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="UpdateWorkforceTask__p1869319473391">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="UpdateWorkforceTask__p96958476392">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="UpdateWorkforceTask__p6699144773915">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateWorkforceTask__row1068612474392"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateWorkforceTask__p97021847173916">agency</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateWorkforceTask__p157046474393">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateWorkforceTask__p12708194773912">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateWorkforceTask__p95171586366">Team administrator.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row268610477398"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateWorkforceTask__p11714174713397">workforces</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateWorkforceTask__p1471615474396">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateWorkforceTask__p371904743919">Array of <a href="#UpdateWorkforceTask__request_WorkforceConfig">WorkforceConfig</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateWorkforceTask__p37211147193919">List of teams that execute labeling tasks.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="UpdateWorkforceTask__request_WorkforceConfig"></a><a name="request_WorkforceConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateWorkforceTask__request_WorkforceConfig" frame="border" border="1" rules="all"><caption><b>Table 4 </b>WorkforceConfig</caption><thead align="left"><tr id="UpdateWorkforceTask__row12723154763917"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="UpdateWorkforceTask__p147272047163920">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="UpdateWorkforceTask__p137291477391">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="UpdateWorkforceTask__p4731194717394">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="UpdateWorkforceTask__p473394714390">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateWorkforceTask__row7723184753910"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateWorkforceTask__p1273516471399">workers</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateWorkforceTask__p6737184718395">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateWorkforceTask__p173994715393">Array of <a href="#UpdateWorkforceTask__request_Worker">Worker</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateWorkforceTask__p177421447143914">List of labeling team members.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row1272374723913"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateWorkforceTask__p13744194793915">workforce_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateWorkforceTask__p8746947183917">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateWorkforceTask__p274874711399">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateWorkforceTask__p147501847163918">ID of a labeling team.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row1723114714391"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateWorkforceTask__p1875214716395">workforce_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateWorkforceTask__p13755154713391">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateWorkforceTask__p5758947113914">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateWorkforceTask__p176044763917">Name of a labeling team. The value contains 0 to 1024 characters and does not support the following special characters: !&lt;&gt;=&amp;"'</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="UpdateWorkforceTask__request_Worker"></a><a name="request_Worker"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateWorkforceTask__request_Worker" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Worker</caption><thead align="left"><tr id="UpdateWorkforceTask__row1576294723918"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="UpdateWorkforceTask__p1376544713393">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="UpdateWorkforceTask__p17767447123918">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="UpdateWorkforceTask__p977010478395">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="UpdateWorkforceTask__p977317475393">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateWorkforceTask__row10762194773918"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateWorkforceTask__p1377624773916">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateWorkforceTask__p57781247193917">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateWorkforceTask__p1578119478393">Long</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateWorkforceTask__p27838477399">Creation time.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row7762547153915"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateWorkforceTask__p7786124773917">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateWorkforceTask__p378984718399">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateWorkforceTask__p77911947103910">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateWorkforceTask__p19793174713398">Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!&lt;&gt;=&amp;"'</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row11762747123915"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateWorkforceTask__p10796447163917">email</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateWorkforceTask__p13799174719399">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateWorkforceTask__p19801154753912">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateWorkforceTask__p780304717394">Email address of a labeling team member.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row1776224712390"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateWorkforceTask__p2080644773913">role</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateWorkforceTask__p580874712399">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateWorkforceTask__p38106474391">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateWorkforceTask__p3817247103912">Role. The options are as follows: - <strong id="UpdateWorkforceTask__b15818347183918">0</strong>: labeling personnel - <strong id="UpdateWorkforceTask__b98181447143915">1</strong>: reviewer - <strong id="UpdateWorkforceTask__b15818174763919">2</strong>: team administrator - <strong id="UpdateWorkforceTask__b7818174773910">3</strong>: dataset owner</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row1076214717394"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateWorkforceTask__p6822114716395">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateWorkforceTask__p1182412474397">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateWorkforceTask__p7826747103920">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateWorkforceTask__p4831164743910">Current login status of a labeling team member. The options are as follows: - <strong id="UpdateWorkforceTask__b138324472395">0</strong>: The invitation email has not been sent. - <strong id="UpdateWorkforceTask__b883214717396">1</strong>: The invitation email has been sent but the user has not logged in. - <strong id="UpdateWorkforceTask__b483274733910">2</strong>: The user has logged in. - <strong id="UpdateWorkforceTask__b15832174703912">3</strong>: The labeling team member has been deleted.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row127627470398"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateWorkforceTask__p18835184743913">update_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateWorkforceTask__p683894719391">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateWorkforceTask__p108404474395">Long</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateWorkforceTask__p148431747113913">Update time.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row1876213477391"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateWorkforceTask__p2846154713913">worker_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateWorkforceTask__p19850447113913">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateWorkforceTask__p7852147203918">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateWorkforceTask__p1855194715395">ID of a labeling team member.</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row10762194710397"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateWorkforceTask__p2085814714391">workforce_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateWorkforceTask__p1986014714393">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateWorkforceTask__p3864144719391">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateWorkforceTask__p198682473394">ID of a labeling team.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateWorkforceTask__section9871447143915"><h4 class="sectiontitle">Response Parameters</h4><p id="UpdateWorkforceTask__p1887414773911">None</p>
</div>
<div class="section" id="UpdateWorkforceTask__section8876447123916"><h4 class="sectiontitle">Example Requests</h4><p id="UpdateWorkforceTask__p587918474397">Updating a Team Labeling Task</p>
<pre class="screen" id="UpdateWorkforceTask__screen1888524713917">{
"workforces_config" : {
"workforces" : [ {
"workforce_id" : "3frbQ90hb8ZKksAhyR8",
"workers" : [ {
"email" : "xxx@xxx.com"
}, {
"email" : "xxx@xxx.com"
} ]
} ]
}
}</pre>
</div>
<div class="section" id="UpdateWorkforceTask__section4917347203918"><h4 class="sectiontitle">Example Responses</h4><p id="UpdateWorkforceTask__p1491954763917"><strong id="UpdateWorkforceTask__b1592017472398">Status code: 200</strong></p>
<p id="UpdateWorkforceTask__p2921847163912">OK</p>
<pre class="screen" id="UpdateWorkforceTask__screen1092354713920">{ }</pre>
</div>
<div class="section" id="UpdateWorkforceTask__section19265473391"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateWorkforceTask__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="UpdateWorkforceTask__row1892915474390"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="UpdateWorkforceTask__p129321547143913">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="UpdateWorkforceTask__p1935164773912">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateWorkforceTask__row3930174715391"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateWorkforceTask__p5937204703914">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateWorkforceTask__p1293915472391">OK</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row29301747183916"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateWorkforceTask__p149418475391">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateWorkforceTask__p19943154715391">Unauthorized</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row19301947193913"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateWorkforceTask__p2946144763913">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateWorkforceTask__p1395064713917">Forbidden</p>
</td>
</tr>
<tr id="UpdateWorkforceTask__row1993013471394"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateWorkforceTask__p199523474397">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateWorkforceTask__p1795524733918">Not Found</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateWorkforceTask__section895810473399"><h4 class="sectiontitle">Error Codes</h4><p id="UpdateWorkforceTask__p15961547173915">See <a href="modelarts_03_0095.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="label_task_management.html">Labeling Task Management</a></div>
</div>
</div>