doc-exports/docs/apig/api-ref/UpdateGatewayResponseV2.html
Chen, Junjie 2fc8a34abd APIG API 20240125 version
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-10-25 11:19:06 +00:00

636 lines
48 KiB
HTML

<a name="UpdateGatewayResponseV2"></a><a name="UpdateGatewayResponseV2"></a>
<h1 class="topictitle1">Modifying a Group Response</h1>
<div id="body1552824821812"><div class="section" id="UpdateGatewayResponseV2__section652844819186"><h4 class="sectiontitle">Function</h4><p id="UpdateGatewayResponseV2__p18529104891818">This API is used to modify a response of an API group.</p>
</div>
<div class="section" id="UpdateGatewayResponseV2__section165298488185"><h4 class="sectiontitle">Calling Method</h4><p id="UpdateGatewayResponseV2__p125291648131816">For details, see <a href="apig-api-180713003.html">Calling APIs</a>.</p>
</div>
<div class="section" id="UpdateGatewayResponseV2__section5529194831811"><h4 class="sectiontitle">URI</h4><p id="UpdateGatewayResponseV2__p3529174819189">PUT /v2/{project_id}/apigw/instances/{instance_id}/api-groups/{group_id}/gateway-responses/{response_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__table12531248141816" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row653034841810"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="UpdateGatewayResponseV2__p1653216488185">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="UpdateGatewayResponseV2__p10532114811810">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="UpdateGatewayResponseV2__p75321485188">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="UpdateGatewayResponseV2__p35321048101813">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row75301848131817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateGatewayResponseV2__p853234821817">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateGatewayResponseV2__p653314861817">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateGatewayResponseV2__p35336489180">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateGatewayResponseV2__p165331484183">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="UpdateGatewayResponseV2__row8530114881816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateGatewayResponseV2__p653316488189">instance_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateGatewayResponseV2__p853316483184">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateGatewayResponseV2__p8534164811181">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateGatewayResponseV2__p653474810189">Gateway ID, which can be obtained from the gateway information on the APIG console.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row115302485184"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateGatewayResponseV2__p15534248101812">group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateGatewayResponseV2__p1053414810181">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateGatewayResponseV2__p1853411480188">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateGatewayResponseV2__p953594891810">API group ID.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row185301148141816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateGatewayResponseV2__p115356484189">response_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateGatewayResponseV2__p16535848111818">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateGatewayResponseV2__p16535114881814">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateGatewayResponseV2__p14535204817182">Response ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateGatewayResponseV2__section16536124801811"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row125368480181"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="UpdateGatewayResponseV2__p13537104821816">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="UpdateGatewayResponseV2__p753744817185">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="UpdateGatewayResponseV2__p1353804841813">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="UpdateGatewayResponseV2__p19538248191819">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row125366489187"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="UpdateGatewayResponseV2__p2538144815181">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="UpdateGatewayResponseV2__p053813480185">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="UpdateGatewayResponseV2__p19538448201811">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="UpdateGatewayResponseV2__p1953954812184">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="UpdateGatewayResponseV2__request_ResponsesCreate" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row7539448121815"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="UpdateGatewayResponseV2__p1854044816182">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="UpdateGatewayResponseV2__p1054054818184">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="UpdateGatewayResponseV2__p454114481184">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="UpdateGatewayResponseV2__p454144821810">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row95399482188"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="UpdateGatewayResponseV2__p14541184820184">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="UpdateGatewayResponseV2__p5541748171815">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="UpdateGatewayResponseV2__p1154194818184">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="UpdateGatewayResponseV2__p10542548141814">Response name. Enter 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row1053964821816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="UpdateGatewayResponseV2__p3542144821813">responses</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="UpdateGatewayResponseV2__p754264891815">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="UpdateGatewayResponseV2__p15423486189">Map&lt;String,<a href="#UpdateGatewayResponseV2__request_ResponseInfo">ResponseInfo</a>&gt;</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="UpdateGatewayResponseV2__p175431485185">Response type definition. key indicates the error type. Options of key:</p>
<ul id="UpdateGatewayResponseV2__ul165434485185"><li id="UpdateGatewayResponseV2__li1154318484181">AUTH_FAILURE: Authentication failed.</li><li id="UpdateGatewayResponseV2__li8543948151814">AUTH_HEADER_MISSING: The identity source is missing.</li><li id="UpdateGatewayResponseV2__li13543194891818">AUTHORIZER_FAILURE: Custom authentication failed.</li><li id="UpdateGatewayResponseV2__li1454415486189">AUTHORIZER_CONF_FAILURE: Custom authorizer error.</li><li id="UpdateGatewayResponseV2__li554454831814">AUTHORIZER_IDENTITIES_FAILURE: The identity source of the custom authorizer is invalid.</li><li id="UpdateGatewayResponseV2__li125441448201813">BACKEND_UNAVAILABLE: The backend is unavailable.</li><li id="UpdateGatewayResponseV2__li175441848151820">BACKEND_TIMEOUT: Backend timed out.</li><li id="UpdateGatewayResponseV2__li175443482185">THROTTLED: The request was rejected due to request throttling.</li><li id="UpdateGatewayResponseV2__li1554414811820">UNAUTHORIZED: The app you are using has not been authorized to call the API.</li><li id="UpdateGatewayResponseV2__li17545174831817">ACCESS_DENIED: Access denied.</li><li id="UpdateGatewayResponseV2__li19545948191816">NOT_FOUND: No API is found.</li><li id="UpdateGatewayResponseV2__li195451348171814">REQUEST_PARAMETERS_FAILURE: Invalid request parameter.</li><li id="UpdateGatewayResponseV2__li1545124871816">DEFAULT_4XX: Default 4XX error occurred.</li><li id="UpdateGatewayResponseV2__li4545174815186">DEFAULT_5XX: Default 5XX error occurred.</li><li id="UpdateGatewayResponseV2__li5545248111810">THIRD_AUTH_FAILURE: Third-party authentication failed.</li><li id="UpdateGatewayResponseV2__li1546748131811">THIRD_AUTH_IDENTITIES_FAILURE: Identity source of the third-party authorizer is invalid.</li><li id="UpdateGatewayResponseV2__li25461148171815">THIRD_AUTH_CONF_FAILURE: Third-party authorizer configuration error.</li><li id="UpdateGatewayResponseV2__li16546154811187">ORCHESTRATION_PARAMETER_NOT_FOUND: No parameters are input to match the parameter orchestration rule, causing orchestration failure.</li><li id="UpdateGatewayResponseV2__li5546748101819">ORCHESTRATION_FAILURE: Input parameters cannot match orchestration rules, causing orchestration failure.</li></ul>
<p id="UpdateGatewayResponseV2__p854644813184">Each error type is in JSON format.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="UpdateGatewayResponseV2__request_ResponseInfo"></a><a name="request_ResponseInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__request_ResponseInfo" frame="border" border="1" rules="all"><caption><b>Table 4 </b>ResponseInfo</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row1654734812187"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.1"><p id="UpdateGatewayResponseV2__p1854864820181">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.2"><p id="UpdateGatewayResponseV2__p054804815185">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.3"><p id="UpdateGatewayResponseV2__p13549194851811">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.4.2.5.1.4"><p id="UpdateGatewayResponseV2__p17549174817181">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row454734820181"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="UpdateGatewayResponseV2__p1754984821814">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="UpdateGatewayResponseV2__p12549154817187">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="UpdateGatewayResponseV2__p45491748161812">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="UpdateGatewayResponseV2__p1455014812188">HTTP status code of the response. The value ranges from 200 to 599, but cannot be 444.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row4547154813183"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="UpdateGatewayResponseV2__p105501448191819">body</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="UpdateGatewayResponseV2__p1055012484189">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="UpdateGatewayResponseV2__p5550174861813">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="UpdateGatewayResponseV2__p955074814184">Response body template.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row1154718480183"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="UpdateGatewayResponseV2__p3551134814184">headers</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="UpdateGatewayResponseV2__p13551448111818">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="UpdateGatewayResponseV2__p10551548181813">Array of <a href="#UpdateGatewayResponseV2__request_ResponseInfoHeader">ResponseInfoHeader</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="UpdateGatewayResponseV2__p15551848111811">Custom response header.</p>
<p id="UpdateGatewayResponseV2__p455134851812">Array Length: <strong id="UpdateGatewayResponseV2__b14552114871816">0 - 10</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="UpdateGatewayResponseV2__request_ResponseInfoHeader"></a><a name="request_ResponseInfoHeader"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__request_ResponseInfoHeader" frame="border" border="1" rules="all"><caption><b>Table 5 </b>ResponseInfoHeader</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row255217486181"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.1"><p id="UpdateGatewayResponseV2__p1055354841819">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.2"><p id="UpdateGatewayResponseV2__p13553048151820">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.3"><p id="UpdateGatewayResponseV2__p85531483182">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.5.2.5.1.4"><p id="UpdateGatewayResponseV2__p11554154831818">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row205528486182"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="UpdateGatewayResponseV2__p355416489183">key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="UpdateGatewayResponseV2__p7554154811810">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="UpdateGatewayResponseV2__p1655410487180">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="UpdateGatewayResponseV2__p1855534811182">Key of the custom group response header, which can contain 1 to 128 characters of letters, digits, and hyphens (-).</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row1655219486183"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="UpdateGatewayResponseV2__p4555124851811">value</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="UpdateGatewayResponseV2__p1555504861810">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="UpdateGatewayResponseV2__p1755514815189">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="UpdateGatewayResponseV2__p955512487180">Value of the custom group response header, which is a string of 1 to 1,024 characters.</p>
<p id="UpdateGatewayResponseV2__p1455654841817">Minimum: <strong id="UpdateGatewayResponseV2__b17556184861818">1</strong></p>
<p id="UpdateGatewayResponseV2__p65561048151812">Maximum: <strong id="UpdateGatewayResponseV2__b12556124821811">1024</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateGatewayResponseV2__section10556748111810"><h4 class="sectiontitle">Response Parameters</h4><p id="UpdateGatewayResponseV2__p256194817182"><strong id="UpdateGatewayResponseV2__b19562194841816">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__response_ResponsesInfo" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row1256213481183"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="UpdateGatewayResponseV2__p75647485181">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="UpdateGatewayResponseV2__p1256424819185">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="UpdateGatewayResponseV2__p3564114851817">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row556224818186"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="UpdateGatewayResponseV2__p55647482185">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="UpdateGatewayResponseV2__p9564194811819">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="UpdateGatewayResponseV2__p17565748111815">Response name.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row3562154811182"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="UpdateGatewayResponseV2__p056534811186">responses</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="UpdateGatewayResponseV2__p8565548121816">Map&lt;String,<a href="#UpdateGatewayResponseV2__response_ResponseInfoResp">ResponseInfoResp</a>&gt;</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="UpdateGatewayResponseV2__p2565948121819">Response type definition. key indicates the error type. Options of key:</p>
<ul id="UpdateGatewayResponseV2__ul55651486183"><li id="UpdateGatewayResponseV2__li125651648161818">AUTH_FAILURE: Authentication failed.</li><li id="UpdateGatewayResponseV2__li19566134891818">AUTH_HEADER_MISSING: The identity source is missing.</li><li id="UpdateGatewayResponseV2__li10566174831810">AUTHORIZER_FAILURE: Custom authentication failed.</li><li id="UpdateGatewayResponseV2__li656604816183">AUTHORIZER_CONF_FAILURE: Custom authorizer error.</li><li id="UpdateGatewayResponseV2__li75661848161819">AUTHORIZER_IDENTITIES_FAILURE: The identity source of the custom authorizer is invalid.</li><li id="UpdateGatewayResponseV2__li175665480181">BACKEND_UNAVAILABLE: The backend is unavailable.</li><li id="UpdateGatewayResponseV2__li0566184819187">BACKEND_TIMEOUT: Backend timed out.</li><li id="UpdateGatewayResponseV2__li1356711483183">THROTTLED: The request was rejected due to request throttling.</li><li id="UpdateGatewayResponseV2__li19567114815183">UNAUTHORIZED: The app you are using has not been authorized to call the API.</li><li id="UpdateGatewayResponseV2__li6567174871816">ACCESS_DENIED: Access denied.</li><li id="UpdateGatewayResponseV2__li115671948131811">NOT_FOUND: No API is found.</li><li id="UpdateGatewayResponseV2__li15567174861817">REQUEST_PARAMETERS_FAILURE: Invalid request parameter.</li><li id="UpdateGatewayResponseV2__li6568114820185">DEFAULT_4XX: Default 4XX error occurred.</li><li id="UpdateGatewayResponseV2__li4568948201810">DEFAULT_5XX: Default 5XX error occurred.</li><li id="UpdateGatewayResponseV2__li1568144811187">THIRD_AUTH_FAILURE: Third-party authentication failed.</li><li id="UpdateGatewayResponseV2__li15689487187">THIRD_AUTH_IDENTITIES_FAILURE: Identity source of the third-party authorizer is invalid.</li><li id="UpdateGatewayResponseV2__li19568194812186">THIRD_AUTH_CONF_FAILURE: Third-party authorizer configuration error.</li><li id="UpdateGatewayResponseV2__li2056824801810">ORCHESTRATION_PARAMETER_NOT_FOUND: No parameters are input to match the parameter orchestration rule, causing orchestration failure.</li><li id="UpdateGatewayResponseV2__li195693484188">ORCHESTRATION_FAILURE: Input parameters cannot match orchestration rules, causing orchestration failure.</li></ul>
<p id="UpdateGatewayResponseV2__p195691848171817">Each error type is in JSON format.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row1156284811817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="UpdateGatewayResponseV2__p16569148111818">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="UpdateGatewayResponseV2__p056934817189">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="UpdateGatewayResponseV2__p115701848121814">Response ID.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row4562144812183"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="UpdateGatewayResponseV2__p3570124881812">default</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="UpdateGatewayResponseV2__p857024891815">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="UpdateGatewayResponseV2__p357012484188">Indicates whether the group response is the default response.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row14563174813187"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="UpdateGatewayResponseV2__p11571134813182">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="UpdateGatewayResponseV2__p65711948101813">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="UpdateGatewayResponseV2__p55711248181812">Creation time.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row2563114891818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="UpdateGatewayResponseV2__p25717487180">update_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="UpdateGatewayResponseV2__p95723485188">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="UpdateGatewayResponseV2__p657294831820">Update time.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="UpdateGatewayResponseV2__response_ResponseInfoResp"></a><a name="response_ResponseInfoResp"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__response_ResponseInfoResp" frame="border" border="1" rules="all"><caption><b>Table 7 </b>ResponseInfoResp</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row857254820181"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="UpdateGatewayResponseV2__p35731548101817">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.2"><p id="UpdateGatewayResponseV2__p18574154815189">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.4.2.4.1.3"><p id="UpdateGatewayResponseV2__p13574174871819">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row15721548161819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="UpdateGatewayResponseV2__p657415483181">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="UpdateGatewayResponseV2__p16574204821814">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="UpdateGatewayResponseV2__p1157424871812">HTTP status code of the response. The value ranges from 200 to 599, but cannot be 444.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row1257334811815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="UpdateGatewayResponseV2__p7574548101816">body</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="UpdateGatewayResponseV2__p11575114891812">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="UpdateGatewayResponseV2__p1957594841816">Response body template.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row2573748181819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="UpdateGatewayResponseV2__p45751848151815">headers</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="UpdateGatewayResponseV2__p3575194841812">Array of <a href="#UpdateGatewayResponseV2__response_ResponseInfoHeader">ResponseInfoHeader</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="UpdateGatewayResponseV2__p135754481186">Custom response header.</p>
<p id="UpdateGatewayResponseV2__p15576114817181">Array Length: <strong id="UpdateGatewayResponseV2__b7576848101812">0 - 10</strong></p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row7573748121811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="UpdateGatewayResponseV2__p1057615481186">default</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="UpdateGatewayResponseV2__p5576104811817">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="UpdateGatewayResponseV2__p1357604811184">Indicates whether the response is the default response.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="UpdateGatewayResponseV2__response_ResponseInfoHeader"></a><a name="response_ResponseInfoHeader"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__response_ResponseInfoHeader" frame="border" border="1" rules="all"><caption><b>Table 8 </b>ResponseInfoHeader</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row55771548181819"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="UpdateGatewayResponseV2__p1257874811819">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p id="UpdateGatewayResponseV2__p17578748151817">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p id="UpdateGatewayResponseV2__p65791748131818">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row85773482182"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="UpdateGatewayResponseV2__p18579164871810">key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="UpdateGatewayResponseV2__p25791348111813">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="UpdateGatewayResponseV2__p8579848101817">Key of the custom group response header, which can contain 1 to 128 characters of letters, digits, and hyphens (-).</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row13577154820183"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="UpdateGatewayResponseV2__p457917483186">value</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="UpdateGatewayResponseV2__p145801648101819">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="UpdateGatewayResponseV2__p7580948171816">Value of the custom group response header, which is a string of 1 to 1,024 characters.</p>
<p id="UpdateGatewayResponseV2__p358024801814">Minimum: <strong id="UpdateGatewayResponseV2__b158074831815">1</strong></p>
<p id="UpdateGatewayResponseV2__p758094815185">Maximum: <strong id="UpdateGatewayResponseV2__b858084841819">1024</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateGatewayResponseV2__p1158014815186"><strong id="UpdateGatewayResponseV2__b1580748181813">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__response_ErrorMsg" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row558124861814"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.1"><p id="UpdateGatewayResponseV2__p13581124861814">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.2"><p id="UpdateGatewayResponseV2__p1758219480186">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.7.2.4.1.3"><p id="UpdateGatewayResponseV2__p13582164813182">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row358110486188"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="UpdateGatewayResponseV2__p115821348131811">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="UpdateGatewayResponseV2__p358218480184">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="UpdateGatewayResponseV2__p19583648121818">Error code.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row12581134841815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="UpdateGatewayResponseV2__p1158364851817">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="UpdateGatewayResponseV2__p2583248161819">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="UpdateGatewayResponseV2__p258384861812">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateGatewayResponseV2__p1583748181813"><strong id="UpdateGatewayResponseV2__b19583648181817">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__table14584154891818" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row1058414811816"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.1"><p id="UpdateGatewayResponseV2__p741514916185">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.2"><p id="UpdateGatewayResponseV2__p11415124916183">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.9.2.4.1.3"><p id="UpdateGatewayResponseV2__p7415124961810">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row458404818181"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="UpdateGatewayResponseV2__p141518496181">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="UpdateGatewayResponseV2__p94151499187">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="UpdateGatewayResponseV2__p24153495182">Error code.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row4584248191813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="UpdateGatewayResponseV2__p2415949151818">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="UpdateGatewayResponseV2__p5415849191818">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="UpdateGatewayResponseV2__p20415104991816">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateGatewayResponseV2__p74153492184"><strong id="UpdateGatewayResponseV2__b7415649111814">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__table85871448151813" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row15872488189"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.11.2.4.1.1"><p id="UpdateGatewayResponseV2__p8416449171819">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.11.2.4.1.2"><p id="UpdateGatewayResponseV2__p741617493181">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.11.2.4.1.3"><p id="UpdateGatewayResponseV2__p1341617497188">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row1158784811810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.1 "><p id="UpdateGatewayResponseV2__p1341615490186">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.2 "><p id="UpdateGatewayResponseV2__p134169492182">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.11.2.4.1.3 "><p id="UpdateGatewayResponseV2__p2416114912188">Error code.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row158754821810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.1 "><p id="UpdateGatewayResponseV2__p16416204921814">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.2 "><p id="UpdateGatewayResponseV2__p84161749191810">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.11.2.4.1.3 "><p id="UpdateGatewayResponseV2__p1341611493185">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateGatewayResponseV2__p74161749161814"><strong id="UpdateGatewayResponseV2__b18416849151820">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__table9589148101815" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Response body parameters</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row19589348131817"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.13.2.4.1.1"><p id="UpdateGatewayResponseV2__p15416134981813">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.13.2.4.1.2"><p id="UpdateGatewayResponseV2__p1441615490185">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.13.2.4.1.3"><p id="UpdateGatewayResponseV2__p1241619495186">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row95891948111819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.1 "><p id="UpdateGatewayResponseV2__p8416049111817">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.2 "><p id="UpdateGatewayResponseV2__p1641614496187">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.13.2.4.1.3 "><p id="UpdateGatewayResponseV2__p1041634915182">Error code.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row15589194815183"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.1 "><p id="UpdateGatewayResponseV2__p2416134971813">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.2 "><p id="UpdateGatewayResponseV2__p20416249181813">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.13.2.4.1.3 "><p id="UpdateGatewayResponseV2__p8416164911183">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateGatewayResponseV2__p194161449171818"><strong id="UpdateGatewayResponseV2__b11416124915180">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__table18592194810182" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Response body parameters</caption><thead align="left"><tr id="UpdateGatewayResponseV2__row1859217486189"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.15.2.4.1.1"><p id="UpdateGatewayResponseV2__p1841613496181">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.15.2.4.1.2"><p id="UpdateGatewayResponseV2__p124161949131814">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.15.2.4.1.3"><p id="UpdateGatewayResponseV2__p741784981819">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row105921748121815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.1 "><p id="UpdateGatewayResponseV2__p16417949151813">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.2 "><p id="UpdateGatewayResponseV2__p1541717498184">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.15.2.4.1.3 "><p id="UpdateGatewayResponseV2__p5417849181817">Error code.</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row13592248111818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.1 "><p id="UpdateGatewayResponseV2__p0417184921810">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.2 "><p id="UpdateGatewayResponseV2__p204171049171812">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.15.2.4.1.3 "><p id="UpdateGatewayResponseV2__p6417134914181">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateGatewayResponseV2__section1241714913184"><h4 class="sectiontitle">Example Requests</h4><p id="UpdateGatewayResponseV2__p1041714499181">Modifying a response of an API group</p>
<pre class="screen" id="UpdateGatewayResponseV2__screen641794941810">{
"name" : "response_demo"
}</pre>
</div>
<div class="section" id="UpdateGatewayResponseV2__section18417124971817"><h4 class="sectiontitle">Example Responses</h4><p id="UpdateGatewayResponseV2__p154176498189"><strong id="UpdateGatewayResponseV2__b20417154981817">Status code: 200</strong></p>
<p id="UpdateGatewayResponseV2__p6417134919187">OK</p>
<pre class="screen" id="UpdateGatewayResponseV2__screen141713494181">{
"create_time" : "2020-08-12T06:52:02Z",
"update_time" : "2020-08-12T15:22:21.929863859+08:00",
"default" : false,
"id" : "e839b367e10f4ab19d1c5008e476b83a",
"name" : "response_demo",
"responses" : {
"ACCESS_DENIED" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 403
},
"AUTHORIZER_CONF_FAILURE" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 500
},
"AUTHORIZER_FAILURE" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 500
},
"AUTHORIZER_IDENTITIES_FAILURE" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 401
},
"AUTH_FAILURE" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 401
},
"AUTH_HEADER_MISSING" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 401
},
"BACKEND_TIMEOUT" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 504
},
"BACKEND_UNAVAILABLE" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 502
},
"DEFAULT_4XX" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true
},
"DEFAULT_5XX" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true
},
"NOT_FOUND" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 404
},
"REQUEST_PARAMETERS_FAILURE" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 400
},
"THROTTLED" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 429
},
"UNAUTHORIZED" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 401
},
"THIRD_AUTH_FAILURE" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 401
},
"THIRD_AUTH_IDENTITIES_FAILURE" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 401
},
"THIRD_AUTH_CONF_FAILURE" : {
"body" : "{\"error_code\":\"$context.error.code\",\"error_msg\":\"$context.error.message\",\"request_id\":\"$context.requestId\"}",
"default" : true,
"status" : 500
}
}
}</pre>
<p id="UpdateGatewayResponseV2__p3420124991816"><strong id="UpdateGatewayResponseV2__b1442084931812">Status code: 400</strong></p>
<p id="UpdateGatewayResponseV2__p15420134911184">Bad Request</p>
<pre class="screen" id="UpdateGatewayResponseV2__screen1042010496182">{
"error_code" : "APIG.2011",
"error_msg" : "Invalid parameter value,parameterName:name. Please refer to the support documentation"
}</pre>
<p id="UpdateGatewayResponseV2__p1442110493185"><strong id="UpdateGatewayResponseV2__b1042116493185">Status code: 401</strong></p>
<p id="UpdateGatewayResponseV2__p642184915180">Unauthorized</p>
<pre class="screen" id="UpdateGatewayResponseV2__screen9421164921813">{
"error_code" : "APIG.1002",
"error_msg" : "Incorrect token or token resolution failed"
}</pre>
<p id="UpdateGatewayResponseV2__p2042134951819"><strong id="UpdateGatewayResponseV2__b18421184917189">Status code: 403</strong></p>
<p id="UpdateGatewayResponseV2__p34213496181">Forbidden</p>
<pre class="screen" id="UpdateGatewayResponseV2__screen204211849171815">{
"error_code" : "APIG.1005",
"error_msg" : "No permissions to request this method"
}</pre>
<p id="UpdateGatewayResponseV2__p9422184916186"><strong id="UpdateGatewayResponseV2__b17422144961820">Status code: 404</strong></p>
<p id="UpdateGatewayResponseV2__p2042254971815">Not Found</p>
<pre class="screen" id="UpdateGatewayResponseV2__screen24221849171811">{
"error_code" : "APIG.3001",
"error_msg" : "API group c77f5e81d9cb4424bf704ef2b0ac7600 does not exist"
}</pre>
<p id="UpdateGatewayResponseV2__p1242274991818"><strong id="UpdateGatewayResponseV2__b124221049141815">Status code: 500</strong></p>
<p id="UpdateGatewayResponseV2__p2042264913183">Internal Server Error</p>
<pre class="screen" id="UpdateGatewayResponseV2__screen194221349161817">{
"error_code" : "APIG.9999",
"error_msg" : "System error"
}</pre>
</div>
<div class="section" id="UpdateGatewayResponseV2__section94221649101813"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateGatewayResponseV2__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="UpdateGatewayResponseV2__row3610114811817"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="UpdateGatewayResponseV2__p74221749141815">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="UpdateGatewayResponseV2__p194226492182">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateGatewayResponseV2__row1061020484182"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="UpdateGatewayResponseV2__p642234911819">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="UpdateGatewayResponseV2__p542224911815">OK</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row186101248101818"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="UpdateGatewayResponseV2__p2422164971817">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="UpdateGatewayResponseV2__p1942210494188">Bad Request</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row861004881816"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="UpdateGatewayResponseV2__p184221949131810">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="UpdateGatewayResponseV2__p1842217494187">Unauthorized</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row1661084831814"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="UpdateGatewayResponseV2__p184231649131810">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="UpdateGatewayResponseV2__p13423184911186">Forbidden</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row1261014488184"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="UpdateGatewayResponseV2__p84231549171815">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="UpdateGatewayResponseV2__p11423104951813">Not Found</p>
</td>
</tr>
<tr id="UpdateGatewayResponseV2__row7610194814181"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="UpdateGatewayResponseV2__p1942394991817">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="UpdateGatewayResponseV2__p14231349191810">Internal Server Error</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateGatewayResponseV2__section1442312491184"><h4 class="sectiontitle">Error Codes</h4><p id="UpdateGatewayResponseV2__p1942318499185">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="GroupResponseManagement.html">Group Response Management</a></div>
</div>
</div>