Files
doc-exports/docs/cfw/api-ref/ChangeEastWestFirewallStatus.html
qiaoli 9776db0ee8 First version of the CFW API
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: qiaoli <qiaoli@huawei.com>
Co-committed-by: qiaoli <qiaoli@huawei.com>
2025-01-21 07:59:01 +00:00

267 lines
23 KiB
HTML

<a name="ChangeEastWestFirewallStatus"></a><a name="ChangeEastWestFirewallStatus"></a>
<h1 class="topictitle1">Changing the East-West Firewall Protection Status</h1>
<div id="body1708331107508"><div class="section" id="ChangeEastWestFirewallStatus__section19173134292215"><h4 class="sectiontitle">Function</h4><p id="ChangeEastWestFirewallStatus__p71740424228">This API is used to enable or disable east-west protection.</p>
</div>
<div class="section" id="ChangeEastWestFirewallStatus__section9174042182217"><h4 class="sectiontitle">URI</h4><p id="ChangeEastWestFirewallStatus__p14174104262210">POST /v1/{project_id}/firewall/east-west/protect</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ChangeEastWestFirewallStatus__table81751242142218" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="ChangeEastWestFirewallStatus__row91741242182212"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="ChangeEastWestFirewallStatus__p18175042152215">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="ChangeEastWestFirewallStatus__p12175164210226">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="ChangeEastWestFirewallStatus__p51751742112213">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="ChangeEastWestFirewallStatus__p2176142172219">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ChangeEastWestFirewallStatus__row12174184214225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ChangeEastWestFirewallStatus__p1417604212228">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ChangeEastWestFirewallStatus__p1417644202212">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ChangeEastWestFirewallStatus__p117610426223">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ChangeEastWestFirewallStatus__p317624214229">Project ID, which can be obtained by calling an API or from the console. For details, see <a href="cfw_02_0015.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ChangeEastWestFirewallStatus__table617794272216" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="ChangeEastWestFirewallStatus__row817613428225"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="ChangeEastWestFirewallStatus__p717714211229">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="ChangeEastWestFirewallStatus__p1517715424226">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="ChangeEastWestFirewallStatus__p317744219228">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="ChangeEastWestFirewallStatus__p3177114282212">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ChangeEastWestFirewallStatus__row1217774217225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="ChangeEastWestFirewallStatus__p6178204282216">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="ChangeEastWestFirewallStatus__p91781342172214">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="ChangeEastWestFirewallStatus__p3178242152218">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="ChangeEastWestFirewallStatus__p0178164212226">Enterprise project ID, which is the ID of a project planned based on organizations. You can obtain the enterprise project ID by referring to <a href="cfw_02_0027.html">Obtaining an Enterprise Project ID</a>. If the enterprise project function is not enabled, the value is <strong id="ChangeEastWestFirewallStatus__b13178154252215">0</strong>.</p>
</td>
</tr>
<tr id="ChangeEastWestFirewallStatus__row41777426224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="ChangeEastWestFirewallStatus__p5178204292214">fw_instance_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="ChangeEastWestFirewallStatus__p3178144217221">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="ChangeEastWestFirewallStatus__p2017884215224">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="ChangeEastWestFirewallStatus__p117813421226">Firewall ID, which can be obtained by referring to <a href="cfw_02_0028.html">Obtaining a Firewall ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ChangeEastWestFirewallStatus__section11781542122213"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ChangeEastWestFirewallStatus__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="ChangeEastWestFirewallStatus__row41791842192210"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="ChangeEastWestFirewallStatus__p151791342132217">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="ChangeEastWestFirewallStatus__p10179204282213">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="ChangeEastWestFirewallStatus__p0179142152212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="ChangeEastWestFirewallStatus__p1017994262211">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ChangeEastWestFirewallStatus__row17179174218229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="ChangeEastWestFirewallStatus__p71791442152211">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="ChangeEastWestFirewallStatus__p8180104210225">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="ChangeEastWestFirewallStatus__p17180164211226">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="ChangeEastWestFirewallStatus__p2180174202217">User token. You can obtain the token by referring to <a href="cfw_02_0029.html">Obtaining a User Token</a>.</p>
</td>
</tr>
<tr id="ChangeEastWestFirewallStatus__row109471724122712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="ChangeEastWestFirewallStatus__p16987185572214">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="ChangeEastWestFirewallStatus__p1453216872313">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="ChangeEastWestFirewallStatus__p598785514223">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="ChangeEastWestFirewallStatus__p1821149193417">Content type. It can only be set to application/json.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ChangeEastWestFirewallStatus__request_ChangeProtectStatusRequestBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Request body parameters</caption><thead align="left"><tr id="ChangeEastWestFirewallStatus__row171804427228"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="ChangeEastWestFirewallStatus__p518018421224">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="ChangeEastWestFirewallStatus__p318084232216">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="ChangeEastWestFirewallStatus__p1418104252216">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="ChangeEastWestFirewallStatus__p20181184217225">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ChangeEastWestFirewallStatus__row171801842112218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ChangeEastWestFirewallStatus__p31815424226">object_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ChangeEastWestFirewallStatus__p5181742112212">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ChangeEastWestFirewallStatus__p171811042162211">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ChangeEastWestFirewallStatus__p3181542172211">Protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. You can obtain the ID by calling the <a href="ListFirewallDetail.html">API for querying firewall instances</a>. In the return value, find the ID in <strong id="ChangeEastWestFirewallStatus__b8181124252215">data.records.protect_objects.object_id</strong> (The period [.] is used to separate different levels of objects). If the value of <strong id="ChangeEastWestFirewallStatus__b1218184242213">type</strong> is <strong id="ChangeEastWestFirewallStatus__b1918174262216">0</strong>, the protected object ID belongs to the Internet border. If the value of <strong id="ChangeEastWestFirewallStatus__b41812424226">type</strong> is <strong id="ChangeEastWestFirewallStatus__b2181164213225">1</strong>, the protected object ID belongs to the VPC border. Here, a protected object ID whose <strong id="ChangeEastWestFirewallStatus__b71819423229">type</strong> is <strong id="ChangeEastWestFirewallStatus__b318134262210">1</strong> is used. You can obtain the value of <strong id="ChangeEastWestFirewallStatus__b218144292213">type</strong> from <strong id="ChangeEastWestFirewallStatus__b3181742152216">data.records.protect_objects.type</strong> (The period [.] is used to separate different levels of objects).</p>
</td>
</tr>
<tr id="ChangeEastWestFirewallStatus__row21801042152214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ChangeEastWestFirewallStatus__p1018112421223">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ChangeEastWestFirewallStatus__p318114217222">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ChangeEastWestFirewallStatus__p17181142182213">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ChangeEastWestFirewallStatus__p19182174272211">Protection status: <strong id="ChangeEastWestFirewallStatus__b1018274202217">0</strong> (enabled), <strong id="ChangeEastWestFirewallStatus__b15182194213221">1</strong> (disabled).</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ChangeEastWestFirewallStatus__section10182204216220"><h4 class="sectiontitle">Response Parameters</h4><p id="ChangeEastWestFirewallStatus__p91821426228"><strong id="ChangeEastWestFirewallStatus__b3182174219227">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ChangeEastWestFirewallStatus__response_ChangeEastWestFirewallStatusResponse" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="ChangeEastWestFirewallStatus__row1318218420227"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="ChangeEastWestFirewallStatus__p1218234219228">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="ChangeEastWestFirewallStatus__p18182164282212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="ChangeEastWestFirewallStatus__p15182042172215">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ChangeEastWestFirewallStatus__row818219423225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ChangeEastWestFirewallStatus__p318319428220">data</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ChangeEastWestFirewallStatus__p2018324216222"><a href="#ChangeEastWestFirewallStatus__response_ChangeEastWestFirewallStatusResponseData">ChangeEastWestFirewallStatusResponseData</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ChangeEastWestFirewallStatus__p61831742202213">Data returned for modifying east-west protection.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="ChangeEastWestFirewallStatus__response_ChangeEastWestFirewallStatusResponseData"></a><a name="response_ChangeEastWestFirewallStatusResponseData"></a><table cellpadding="4" cellspacing="0" summary="" id="ChangeEastWestFirewallStatus__response_ChangeEastWestFirewallStatusResponseData" frame="border" border="1" rules="all"><caption><b>Table 6 </b>ChangeEastWestFirewallStatusResponseData</caption><thead align="left"><tr id="ChangeEastWestFirewallStatus__row13183174214221"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="ChangeEastWestFirewallStatus__p218314428222">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="ChangeEastWestFirewallStatus__p618314217222">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="ChangeEastWestFirewallStatus__p11184174220229">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ChangeEastWestFirewallStatus__row1918374213226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ChangeEastWestFirewallStatus__p111845421225">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ChangeEastWestFirewallStatus__p51843427226">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ChangeEastWestFirewallStatus__p1518474216226">East-west protected object ID, which can be obtained by calling the <a href="ListFirewallDetail.html">API for querying a firewall instance</a>. In the return value, find the ID in <strong id="ChangeEastWestFirewallStatus__b4184342102214">data.records.protect_objects.object_id</strong> (The period [.] is used to separate different levels of objects). Note that <strong id="ChangeEastWestFirewallStatus__b21845422227">type</strong> indicates the protected object type. <strong id="ChangeEastWestFirewallStatus__b20184114272214">0</strong> indicates the ID of a protected object at the Internet border, <strong id="ChangeEastWestFirewallStatus__b1184124211227">1</strong> indicates the ID of a protected object at the VPC border. Here, a protected object ID whose <strong id="ChangeEastWestFirewallStatus__b13184154232216">type</strong> is <strong id="ChangeEastWestFirewallStatus__b1118434219228">1</strong> is used. You can obtain the value of <strong id="ChangeEastWestFirewallStatus__b1418414282211">type</strong> from <strong id="ChangeEastWestFirewallStatus__b11184144252211">data.records.protect_objects.type</strong> (The period [.] is used to separate different levels of objects).</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="ChangeEastWestFirewallStatus__p218411429227"><strong id="ChangeEastWestFirewallStatus__b718414272219">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ChangeEastWestFirewallStatus__response_ErrorRsp" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="ChangeEastWestFirewallStatus__row131846428229"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="ChangeEastWestFirewallStatus__p12185144215225">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="ChangeEastWestFirewallStatus__p6185742142215">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="ChangeEastWestFirewallStatus__p17185104252211">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ChangeEastWestFirewallStatus__row61849428229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="ChangeEastWestFirewallStatus__p918515422228">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="ChangeEastWestFirewallStatus__p0185342152218">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="ChangeEastWestFirewallStatus__p018594217225">Error code.</p>
</td>
</tr>
<tr id="ChangeEastWestFirewallStatus__row618474215222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="ChangeEastWestFirewallStatus__p141852422229">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="ChangeEastWestFirewallStatus__p191851420228">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="ChangeEastWestFirewallStatus__p118515426224">Error description.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ChangeEastWestFirewallStatus__section16185194212215"><h4 class="sectiontitle">Example Requests</h4><p id="ChangeEastWestFirewallStatus__p918644292214">In the project with the ID 09bb24e6fe80d23d2fa2c010b53b418c, enable east-west firewall protection for the object with the ID 74820b38-1cc0-4f0b-8cce-32490fa840a3.</p>
<pre class="screen" id="ChangeEastWestFirewallStatus__screen71861942182213">https://{Endpoint}/v1/09bb24e6fe80d23d2fa2c010b53b418c/firewall/east-west/protect
{
"object_id" : "74820b38-1cc0-4f0b-8cce-32490fa840a3",
"status" : 1
}</pre>
</div>
<div class="section" id="ChangeEastWestFirewallStatus__section1218634217222"><h4 class="sectiontitle">Example Responses</h4><p id="ChangeEastWestFirewallStatus__p1718615429221"><strong id="ChangeEastWestFirewallStatus__b818674217226">Status code: 200</strong></p>
<p id="ChangeEastWestFirewallStatus__p131861042112219">Response body for updating the east-west protection status.</p>
<pre class="screen" id="ChangeEastWestFirewallStatus__screen2187042102213">{
"data" : {
"id" : "5c539816-7a94-4833-9df0-944b362f0797"
}
}</pre>
<p id="ChangeEastWestFirewallStatus__p14187204214228"><strong id="ChangeEastWestFirewallStatus__b3187134214220">Status code: 400</strong></p>
<p id="ChangeEastWestFirewallStatus__p141872427226">Bad Request</p>
<pre class="screen" id="ChangeEastWestFirewallStatus__screen20187154216227">{
"error_code" : "CFW.00200005",
"error_msg" : "Object not found."
}</pre>
</div>
<div class="section" id="ChangeEastWestFirewallStatus__section6574104262220"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ChangeEastWestFirewallStatus__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ChangeEastWestFirewallStatus__row819714272216"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="ChangeEastWestFirewallStatus__p85741242132219">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="ChangeEastWestFirewallStatus__p1657594215229">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ChangeEastWestFirewallStatus__row161975422228"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ChangeEastWestFirewallStatus__p657514282217">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ChangeEastWestFirewallStatus__p7575124217223">Response body for updating the east-west protection status.</p>
</td>
</tr>
<tr id="ChangeEastWestFirewallStatus__row319734210222"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ChangeEastWestFirewallStatus__p657594219226">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ChangeEastWestFirewallStatus__p95751042172218">Bad Request</p>
</td>
</tr>
<tr id="ChangeEastWestFirewallStatus__row121975428221"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ChangeEastWestFirewallStatus__p657524262219">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ChangeEastWestFirewallStatus__p557511423226">Unauthorized</p>
</td>
</tr>
<tr id="ChangeEastWestFirewallStatus__row101971842182217"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ChangeEastWestFirewallStatus__p125756427220">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ChangeEastWestFirewallStatus__p4575742132213">Forbidden</p>
</td>
</tr>
<tr id="ChangeEastWestFirewallStatus__row9197144202213"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ChangeEastWestFirewallStatus__p155751942172216">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ChangeEastWestFirewallStatus__p257534213225">Not Found</p>
</td>
</tr>
<tr id="ChangeEastWestFirewallStatus__row1919718422222"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ChangeEastWestFirewallStatus__p1757574212211">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ChangeEastWestFirewallStatus__p135752420228">Internal Server Error</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ChangeEastWestFirewallStatus__section115751042132215"><h4 class="sectiontitle">Error Codes</h4><p id="ChangeEastWestFirewallStatus__p357554292210">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000000.html">Firewall Management</a></div>
</div>
</div>