doc-exports/docs/apig/api-ref/UpdateCustomAuthorizerV2_1.html
Chen, Junjie 710480502f APIG API 20231026 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2023-11-27 06:28:29 +00:00

618 lines
47 KiB
HTML

<a name="UpdateCustomAuthorizerV2_1"></a><a name="UpdateCustomAuthorizerV2_1"></a>
<h1 class="topictitle1">Modifying a Custom Authorizer</h1>
<div id="body10313122422812"><div class="section" id="UpdateCustomAuthorizerV2_1__section231319245288"><h4 class="sectiontitle">Function</h4><p id="UpdateCustomAuthorizerV2_1__p15313142417282">This API is used to modify a custom authorizer.</p>
</div>
<div class="section" id="UpdateCustomAuthorizerV2_1__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p id="UpdateCustomAuthorizerV2_1__p15314172417288">PUT /v2/{project_id}/apigw/instances/{instance_id}/authorizers/{authorizer_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateCustomAuthorizerV2_1__table831552416284" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="UpdateCustomAuthorizerV2_1__row1731532442814"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="UpdateCustomAuthorizerV2_1__p1231612243287">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="UpdateCustomAuthorizerV2_1__p15316724182816">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="UpdateCustomAuthorizerV2_1__p9316024142813">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="UpdateCustomAuthorizerV2_1__p9317152492817">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateCustomAuthorizerV2_1__row15315824112810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p18317192422820">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p11317152414287">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p173181424142818">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p1631822442816">Project ID. For details about how to obtain it, see <a href="apig-api-180713009.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row103152024142818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p1431811245288">instance_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p15318924182818">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p1231932402815">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p14319172411288">Gateway ID, which can be obtained from the gateway information on the APIG console.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row133151224152811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p133191924102814">authorizer_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p0319424192817">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p143192024172812">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p232072411282">Custom authorizer ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateCustomAuthorizerV2_1__section19320202415289"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateCustomAuthorizerV2_1__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="UpdateCustomAuthorizerV2_1__row12320824182820"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="UpdateCustomAuthorizerV2_1__p2324924172819">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="UpdateCustomAuthorizerV2_1__p53241224182817">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="UpdateCustomAuthorizerV2_1__p632422413283">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="UpdateCustomAuthorizerV2_1__p6325132412812">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateCustomAuthorizerV2_1__row332314243282"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p13325162416286">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p232515248289">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p15326224172815">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p1232662414285">User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is a token.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateCustomAuthorizerV2_1__request_AuthorizerCreate" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="UpdateCustomAuthorizerV2_1__row132752419286"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="UpdateCustomAuthorizerV2_1__p7330172432814">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="UpdateCustomAuthorizerV2_1__p173307244285">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="UpdateCustomAuthorizerV2_1__p3330102420286">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="UpdateCustomAuthorizerV2_1__p033122416289">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateCustomAuthorizerV2_1__row03271424132818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p1433117244283">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p33313245282">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p1333112417287">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p17332162416285">Custom authorizer name.</p>
<p id="UpdateCustomAuthorizerV2_1__p1933282410289">It can contain 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row143271324202812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p113321024192818">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p183321224112810">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p233292412811">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p153331724132815">Custom authorizer type.</p>
<ul id="UpdateCustomAuthorizerV2_1__ul1933322419281"><li id="UpdateCustomAuthorizerV2_1__li6333152419282">FRONTEND</li><li id="UpdateCustomAuthorizerV2_1__li33331524192817">BACKEND</li></ul>
<p id="UpdateCustomAuthorizerV2_1__p1533317248289">Modification is not allowed.</p>
<p id="UpdateCustomAuthorizerV2_1__p4333924122819">Enumeration values:</p>
<ul id="UpdateCustomAuthorizerV2_1__ul12333182492815"><li id="UpdateCustomAuthorizerV2_1__li43341249282"><strong id="UpdateCustomAuthorizerV2_1__b633432462812">FRONTEND</strong></li><li id="UpdateCustomAuthorizerV2_1__li153347242281"><strong id="UpdateCustomAuthorizerV2_1__b9334624112816">BACKEND</strong></li></ul>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row6328124202812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p133402432813">authorizer_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p15334524172810">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p1333414247283">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p833502415283">Value: FUNC.</p>
<p id="UpdateCustomAuthorizerV2_1__p933542462817">Enumeration values:</p>
<ul id="UpdateCustomAuthorizerV2_1__ul10335162413283"><li id="UpdateCustomAuthorizerV2_1__li11335424192813"><strong id="UpdateCustomAuthorizerV2_1__b5335162482818">FUNC</strong></li></ul>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row932852442815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p12335624112813">authorizer_uri</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p6335202412812">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p203366241281">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p143361024182812">Function URN.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row63286242285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p5338182411280">authorizer_version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p633810242284">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p3338182413285">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p1733962462816">Function version.</p>
<p id="UpdateCustomAuthorizerV2_1__p2339192422817">If both a function alias URN and version are passed, the alias URN will be used and the version will be ignored.</p>
<p id="UpdateCustomAuthorizerV2_1__p12339124202817">Maximum: <strong id="UpdateCustomAuthorizerV2_1__b8339024182817">64</strong></p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row3328132462815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p163393242285">authorizer_alias_uri</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p1134012482812">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p1634018245283">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p1234014241289">Function alias URN.</p>
<p id="UpdateCustomAuthorizerV2_1__p1134052452815">If both a function alias URN and version are passed, the alias URN will be used and the version will be ignored.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row1932862482817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p123401724162818">identities</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p23411824192812">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p1234114243282">Array of <a href="#UpdateCustomAuthorizerV2_1__request_Identity">Identity</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p8341524162810">Identity source.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row15328132412283"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p1434192416280">ttl</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p7342132420287">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p934213242286">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p143421247287">Maximum cache age.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row12329172432819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p103421024172810">user_data</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p113421724172820">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p183431024192816">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p14343182462819">User data.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row153291248280"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p19343192420289">ld_api_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p634312241286">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p1534417241285">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p1234422417283">Custom backend ID.</p>
<p id="UpdateCustomAuthorizerV2_1__p11344324132818">Currently, this parameter is not supported.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row23291524182811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p153441724172818">need_body</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p434410241286">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p8345124182816">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p534513245288">Indicates whether to send the body.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="UpdateCustomAuthorizerV2_1__request_Identity"></a><a name="request_Identity"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateCustomAuthorizerV2_1__request_Identity" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Identity</caption><thead align="left"><tr id="UpdateCustomAuthorizerV2_1__row63459245287"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="UpdateCustomAuthorizerV2_1__p1234682420286">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="UpdateCustomAuthorizerV2_1__p1346924202817">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="UpdateCustomAuthorizerV2_1__p234722416287">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="UpdateCustomAuthorizerV2_1__p19347124172812">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateCustomAuthorizerV2_1__row193451024142812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p1334713246282">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p11347172419283">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p10348112482820">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p5348724182810">Parameter name.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row183451824102812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p43481724172817">location</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p2348172432820">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p9348112412281">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p123491724162813">Parameter location.</p>
<p id="UpdateCustomAuthorizerV2_1__p1834912244281">Enumeration values:</p>
<ul id="UpdateCustomAuthorizerV2_1__ul1534972412281"><li id="UpdateCustomAuthorizerV2_1__li17349112418287"><strong id="UpdateCustomAuthorizerV2_1__b63511324152818">HEADER</strong></li><li id="UpdateCustomAuthorizerV2_1__li19351112418286"><strong id="UpdateCustomAuthorizerV2_1__b235152415282">QUERY</strong></li></ul>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row1034611248286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateCustomAuthorizerV2_1__p435118242284">validation</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateCustomAuthorizerV2_1__p183529246281">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateCustomAuthorizerV2_1__p11352824122811">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateCustomAuthorizerV2_1__p1535292410280">Parameter verification expression. The default value is null, indicating that no verification is performed.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateCustomAuthorizerV2_1__section23521524172813"><h4 class="sectiontitle">Response Parameters</h4><p id="UpdateCustomAuthorizerV2_1__p23531324162816"><strong id="UpdateCustomAuthorizerV2_1__b16353172420282">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateCustomAuthorizerV2_1__response_AuthorizerResp" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="UpdateCustomAuthorizerV2_1__row11354202418285"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="UpdateCustomAuthorizerV2_1__p3355142413288">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="UpdateCustomAuthorizerV2_1__p17356132482811">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="UpdateCustomAuthorizerV2_1__p18356112413281">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateCustomAuthorizerV2_1__row18354152442815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p19356202492811">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p8356192415284">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p133571424202817">Custom authorizer name.</p>
<p id="UpdateCustomAuthorizerV2_1__p5357132416284">It can contain 3 to 64 characters, starting with a letter. Only letters, digits, and underscores (_) are allowed.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row20354142410283"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p1835713248284">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p135710240285">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p835762412816">Custom authorizer type.</p>
<ul id="UpdateCustomAuthorizerV2_1__ul11358192472815"><li id="UpdateCustomAuthorizerV2_1__li9358182417283">FRONTEND</li><li id="UpdateCustomAuthorizerV2_1__li10358924102810">BACKEND</li></ul>
<p id="UpdateCustomAuthorizerV2_1__p203581524122814">Modification is not allowed.</p>
<p id="UpdateCustomAuthorizerV2_1__p18358324132816">Enumeration values:</p>
<ul id="UpdateCustomAuthorizerV2_1__ul8358324112814"><li id="UpdateCustomAuthorizerV2_1__li103583244286"><strong id="UpdateCustomAuthorizerV2_1__b1235822413281">FRONTEND</strong></li><li id="UpdateCustomAuthorizerV2_1__li1535842410283"><strong id="UpdateCustomAuthorizerV2_1__b15359152410287">BACKEND</strong></li></ul>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row1435411242285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p735902492813">authorizer_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p2359122412285">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p6359182482817">Value: FUNC.</p>
<p id="UpdateCustomAuthorizerV2_1__p163591424132813">Enumeration values:</p>
<ul id="UpdateCustomAuthorizerV2_1__ul12360172419287"><li id="UpdateCustomAuthorizerV2_1__li1736012417286"><strong id="UpdateCustomAuthorizerV2_1__b1360142412816">FUNC</strong></li></ul>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row23545240285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p2360102462813">authorizer_uri</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p836062432819">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p8360224142813">Function URN.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row18354192452810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p53625246285">authorizer_version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p1136322492814">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p436322422810">Function version.</p>
<p id="UpdateCustomAuthorizerV2_1__p636372410282">If both a function alias URN and version are passed, the alias URN will be used and the version will be ignored.</p>
<p id="UpdateCustomAuthorizerV2_1__p1536382482818">Maximum: <strong id="UpdateCustomAuthorizerV2_1__b1936317243283">64</strong></p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row33541224142818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p53631824162810">authorizer_alias_uri</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p1536332472818">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p11364162410289">Function alias URN.</p>
<p id="UpdateCustomAuthorizerV2_1__p1336492419289">If both a function alias URN and version are passed, the alias URN will be used and the version will be ignored.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row63541924102818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p19364202452816">identities</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p336412249289">Array of <a href="#UpdateCustomAuthorizerV2_1__response_Identity">Identity</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p236510243280">Identity source.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row10354424102813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p136592492816">ttl</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p536516245287">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p10365924132811">Maximum cache age.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row11354192452813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p8365102414282">user_data</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p203661124142810">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p9366124132810">User data.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row5354324172813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p03661424102811">ld_api_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p03661924182811">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p1436752412284">Custom backend ID.</p>
<p id="UpdateCustomAuthorizerV2_1__p536782412818">Currently, this parameter is not supported.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row10355172432817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p13675248282">need_body</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p6367224152815">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p113671424152819">Indicates whether to send the body.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row8355182462814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p14368324112818">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p163681224112817">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p536822462815">Custom authorizer ID.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row6355824152814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p936832432814">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p1936818241284">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p19369192414283">Creation time.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row12355324192814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p203691024142816">roma_app_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p11369112462817">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p116546244280">ID of the application to which the custom authorizer belongs.</p>
<p id="UpdateCustomAuthorizerV2_1__p13654624102820">Currently, this parameter is not supported.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row1235519245282"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p15654102410287">roma_app_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p1865452418280">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p136541424172812">Name of the application to which the custom authorizer belongs.</p>
<p id="UpdateCustomAuthorizerV2_1__p14654192419285">Currently, this parameter is not supported.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="UpdateCustomAuthorizerV2_1__response_Identity"></a><a name="response_Identity"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateCustomAuthorizerV2_1__response_Identity" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Identity</caption><thead align="left"><tr id="UpdateCustomAuthorizerV2_1__row637162442811"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="UpdateCustomAuthorizerV2_1__p106541724102820">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="UpdateCustomAuthorizerV2_1__p186559246280">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="UpdateCustomAuthorizerV2_1__p2655182482811">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateCustomAuthorizerV2_1__row1637117249281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p1065515241282">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p18655624162811">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p4655724172816">Parameter name.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row1637114246281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p4655224132818">location</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p8655202462811">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p165552419287">Parameter location.</p>
<p id="UpdateCustomAuthorizerV2_1__p15655724102810">Enumeration values:</p>
<ul id="UpdateCustomAuthorizerV2_1__ul165562417286"><li id="UpdateCustomAuthorizerV2_1__li86551024142819"><strong id="UpdateCustomAuthorizerV2_1__b20655024112818">HEADER</strong></li><li id="UpdateCustomAuthorizerV2_1__li1465513243284"><strong id="UpdateCustomAuthorizerV2_1__b16551124192812">QUERY</strong></li></ul>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row4371162411281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p1665512422810">validation</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p12655182402812">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p6655132411286">Parameter verification expression. The default value is null, indicating that no verification is performed.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateCustomAuthorizerV2_1__p66552244284"><strong id="UpdateCustomAuthorizerV2_1__b96561424122818">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateCustomAuthorizerV2_1__response_ErrorMsg" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="UpdateCustomAuthorizerV2_1__row143751424112811"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="UpdateCustomAuthorizerV2_1__p16561924102819">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="UpdateCustomAuthorizerV2_1__p9656192472810">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="UpdateCustomAuthorizerV2_1__p116562024152814">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateCustomAuthorizerV2_1__row123750249285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p18656524102815">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p86568246285">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p20656172411286">Error code.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row6375192410284"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p1565602462810">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p196561324122811">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p136561424152810">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateCustomAuthorizerV2_1__p10656112414288"><strong id="UpdateCustomAuthorizerV2_1__b1665613245283">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateCustomAuthorizerV2_1__response_ErrorMsg_1" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="UpdateCustomAuthorizerV2_1__row15379182419284"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="UpdateCustomAuthorizerV2_1__p1565642482818">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.2"><p id="UpdateCustomAuthorizerV2_1__p565612411283">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.8.2.4.1.3"><p id="UpdateCustomAuthorizerV2_1__p14656172452810">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateCustomAuthorizerV2_1__row9379424152811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p1657152412286">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p76571124172811">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p1265702419282">Error code.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row537914247281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p156571724202810">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p865712248287">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p1265716244283">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateCustomAuthorizerV2_1__p5657924162814"><strong id="UpdateCustomAuthorizerV2_1__b13657192482819">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateCustomAuthorizerV2_1__response_ErrorMsg_2" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="UpdateCustomAuthorizerV2_1__row1382924182813"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="UpdateCustomAuthorizerV2_1__p17657924132818">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.2"><p id="UpdateCustomAuthorizerV2_1__p156571424182819">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.10.2.4.1.3"><p id="UpdateCustomAuthorizerV2_1__p56581024162818">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateCustomAuthorizerV2_1__row163821249281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p965812244289">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p6658152410282">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p126583243289">Error code.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row3382102492817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p14658524122813">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p465832418282">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p2065882482813">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateCustomAuthorizerV2_1__p186581624152820"><strong id="UpdateCustomAuthorizerV2_1__b1465832432810">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateCustomAuthorizerV2_1__response_ErrorMsg_3" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="UpdateCustomAuthorizerV2_1__row238411248282"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="UpdateCustomAuthorizerV2_1__p1365819245289">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.2"><p id="UpdateCustomAuthorizerV2_1__p565922414287">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.12.2.4.1.3"><p id="UpdateCustomAuthorizerV2_1__p865992462817">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateCustomAuthorizerV2_1__row1438413244284"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p1465972422818">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p065912246289">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p4659172482811">Error code.</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row1838412248282"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="UpdateCustomAuthorizerV2_1__p13659172412281">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="UpdateCustomAuthorizerV2_1__p16591624132814">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="UpdateCustomAuthorizerV2_1__p765972452810">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateCustomAuthorizerV2_1__section2659182412815"><h4 class="sectiontitle">Example Requests</h4><p id="UpdateCustomAuthorizerV2_1__p365952417285">Updating a frontend custom authorizer</p>
<pre class="screen" id="UpdateCustomAuthorizerV2_1__screen11659324102818">{
"name" : "Authorizer_demo",
"type" : "FRONTEND",
"authorizer_type" : "FUNC",
"authorizer_uri" : "urn:fss:xx-xxx:106506b9a92342df9a5025fc12351cfc:function:defau:apigDemo_1592617458814",
"authorizer_version" : "v1",
"authorizer_alias_uri" : "urn:fss:xx-xxx-4:106506b9a92342df9a5025fc12351cfc:function:defau:apigDemo_1592617458814:!v1",
"user_data" : "authorizer_test",
"identities" : [ {
"name" : "header",
"location" : "HEADER"
} ]
}</pre>
</div>
<div class="section" id="UpdateCustomAuthorizerV2_1__section866018243287"><h4 class="sectiontitle">Example Responses</h4><p id="UpdateCustomAuthorizerV2_1__p116601824182818"><strong id="UpdateCustomAuthorizerV2_1__b466012246283">Status code: 200</strong></p>
<p id="UpdateCustomAuthorizerV2_1__p196605249280">OK</p>
<pre class="screen" id="UpdateCustomAuthorizerV2_1__screen1566042442819">{
"name" : "Authorizer_demo",
"type" : "FRONTEND",
"authorizer_type" : "FUNC",
"authorizer_uri" : "urn:fss:xx-xxx-4:106506b9a92342df9a5025fc12351cfc:function:defau:apigDemo_1592617458814",
"authorizer_version" : "v1",
"authorizer_alias_uri" : "urn:fss:xx-xxx-4:106506b9a92342df9a5025fc12351cfc:function:defau:apigDemo_1592617458814:!v1",
"identities" : [ {
"name" : "header",
"location" : "HEADER"
} ],
"ttl" : 5,
"user_data" : "authorizer_test",
"id" : "0d982c1ac3da493dae47627b6439fc5c",
"create_time" : "2020-07-08T03:27:52.000+0000"
}</pre>
<p id="UpdateCustomAuthorizerV2_1__p16660192412283"><strong id="UpdateCustomAuthorizerV2_1__b12660162413280">Status code: 401</strong></p>
<p id="UpdateCustomAuthorizerV2_1__p06601624132816">Unauthorized</p>
<pre class="screen" id="UpdateCustomAuthorizerV2_1__screen4660122412820">{
"error_code" : "APIG.1002",
"error_msg" : "Incorrect token or token resolution failed"
}</pre>
<p id="UpdateCustomAuthorizerV2_1__p766112249281"><strong id="UpdateCustomAuthorizerV2_1__b15661924102810">Status code: 403</strong></p>
<p id="UpdateCustomAuthorizerV2_1__p116611724112820">Forbidden</p>
<pre class="screen" id="UpdateCustomAuthorizerV2_1__screen76611524202814">{
"error_code" : "APIG.1005",
"error_msg" : "No permissions to request this method"
}</pre>
<p id="UpdateCustomAuthorizerV2_1__p1266152432816"><strong id="UpdateCustomAuthorizerV2_1__b106611724132812">Status code: 404</strong></p>
<p id="UpdateCustomAuthorizerV2_1__p766162420285">Not Found</p>
<pre class="screen" id="UpdateCustomAuthorizerV2_1__screen5661102432811">{
"error_code" : "APIG.3081",
"error_msg" : "authorizer with id: 0d982c1ac3da493dae47627b6439fc5c not found"
}</pre>
<p id="UpdateCustomAuthorizerV2_1__p8661824192812"><strong id="UpdateCustomAuthorizerV2_1__b766142452818">Status code: 500</strong></p>
<p id="UpdateCustomAuthorizerV2_1__p16661192415284">Internal Server Error</p>
<pre class="screen" id="UpdateCustomAuthorizerV2_1__screen56616249284">{
"error_code" : "APIG.9999",
"error_msg" : "System error"
}</pre>
</div>
<div class="section" id="UpdateCustomAuthorizerV2_1__section14661182462817"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateCustomAuthorizerV2_1__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="UpdateCustomAuthorizerV2_1__row183973247283"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="UpdateCustomAuthorizerV2_1__p46616242285">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="UpdateCustomAuthorizerV2_1__p17662132412819">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateCustomAuthorizerV2_1__row133971824182813"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateCustomAuthorizerV2_1__p166621924162814">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateCustomAuthorizerV2_1__p12662192416287">OK</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row16397152412814"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateCustomAuthorizerV2_1__p766220245287">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateCustomAuthorizerV2_1__p196621824122810">Unauthorized</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row2039732422811"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateCustomAuthorizerV2_1__p066215247282">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateCustomAuthorizerV2_1__p1166212243288">Forbidden</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row113971124142811"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateCustomAuthorizerV2_1__p36621424152816">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateCustomAuthorizerV2_1__p766211249288">Not Found</p>
</td>
</tr>
<tr id="UpdateCustomAuthorizerV2_1__row1839816244288"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateCustomAuthorizerV2_1__p966262432813">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateCustomAuthorizerV2_1__p56621224202815">Internal Server Error</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateCustomAuthorizerV2_1__section176622024142815"><h4 class="sectiontitle">Error Codes</h4><p id="UpdateCustomAuthorizerV2_1__p13662152413288">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="CustomAuthorizerManagement_1.html">Custom Authorizer Management</a></div>
</div>
</div>