doc-exports/docs/antiddos/api-ref/antiddos_02_0019.html
Li, Qiao fe55ee788f antiddos api 1115
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Li, Qiao <qiaoli@huawei.com>
Co-committed-by: Li, Qiao <qiaoli@huawei.com>
2022-11-16 13:51:25 +00:00

96 lines
6.9 KiB
HTML

<a name="antiddos_02_0019"></a><a name="antiddos_02_0019"></a>
<h1 class="topictitle1">Disabling Anti-DDoS</h1>
<div id="body8565311"><div class="section" id="antiddos_02_0019__section35024756"><h4 class="sectiontitle">Functions</h4><p id="antiddos_02_0019__p22701601">This asynchronous API allows you to disable the Anti-DDoS traffic scrubbing. Successfully invoking this API only means that the service node has received the disabling request. You need to use the task querying API to check the task execution status. For details about the task querying API, see <a href="antiddos_02_0022.html">Querying Anti-DDoS Tasks</a>.</p>
</div>
<div class="section" id="antiddos_02_0019__section46787348"><h4 class="sectiontitle">URI</h4><ul id="antiddos_02_0019__ul40687155"><li id="antiddos_02_0019__li30640083">URI format<p id="antiddos_02_0019__p14122195143714"><a name="antiddos_02_0019__li30640083"></a><a name="li30640083"></a>DELETE /v1/{project_id}/antiddos/{floating_ip_id}</p>
</li><li id="antiddos_02_0019__li65927667">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0019__table38540791" frame="border" border="1" rules="all"><thead align="left"><tr id="antiddos_02_0019__row18176357"><th align="left" class="cellrowborder" valign="top" width="30.92690730926907%" id="mcps1.3.2.2.2.1.1.5.1.1"><p id="antiddos_02_0019__p62998845">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.52824717528247%" id="mcps1.3.2.2.2.1.1.5.1.2"><p id="antiddos_02_0019__p2632805">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.617938206179375%" id="mcps1.3.2.2.2.1.1.5.1.3"><p id="antiddos_02_0019__p11930629">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="30.92690730926907%" id="mcps1.3.2.2.2.1.1.5.1.4"><p id="antiddos_02_0019__p26856902">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0019__row27925455"><td class="cellrowborder" valign="top" width="30.92690730926907%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="antiddos_02_0019__p47369417">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.52824717528247%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="antiddos_02_0019__p11717596">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.617938206179375%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="antiddos_02_0019__p9601199">String</p>
</td>
<td class="cellrowborder" valign="top" width="30.92690730926907%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="antiddos_02_0019__p39499626">User ID</p>
</td>
</tr>
<tr id="antiddos_02_0019__row19952318"><td class="cellrowborder" valign="top" width="30.92690730926907%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="antiddos_02_0019__p5525098">floating_ip_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.52824717528247%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="antiddos_02_0019__p44879761">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.617938206179375%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="antiddos_02_0019__p11382045">String</p>
</td>
<td class="cellrowborder" valign="top" width="30.92690730926907%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="antiddos_02_0019__p49530486">ID corresponding to the EIP of a user</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="antiddos_02_0019__section18432949"><h4 class="sectiontitle">Request</h4><p id="antiddos_02_0019__p27004153377">None</p>
</div>
<div class="section" id="antiddos_02_0019__section31678816"><h4 class="sectiontitle">Response</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="antiddos_02_0019__table56967030" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="antiddos_02_0019__row62110049"><th align="left" class="cellrowborder" valign="top" width="23.23%" id="mcps1.3.4.2.2.4.1.1"><p id="antiddos_02_0019__p64858045">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.14%" id="mcps1.3.4.2.2.4.1.2"><p id="antiddos_02_0019__p19010318">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="62.629999999999995%" id="mcps1.3.4.2.2.4.1.3"><p id="antiddos_02_0019__p63440828">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="antiddos_02_0019__row38433454"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.2.2.4.1.1 "><p id="antiddos_02_0019__p26102093">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="14.14%" headers="mcps1.3.4.2.2.4.1.2 "><p id="antiddos_02_0019__p33894784">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.629999999999995%" headers="mcps1.3.4.2.2.4.1.3 "><p id="antiddos_02_0019__p61122992">Internal error code</p>
</td>
</tr>
<tr id="antiddos_02_0019__row13236018"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.2.2.4.1.1 "><p id="antiddos_02_0019__p65484519">error_description</p>
</td>
<td class="cellrowborder" valign="top" width="14.14%" headers="mcps1.3.4.2.2.4.1.2 "><p id="antiddos_02_0019__p2645837">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.629999999999995%" headers="mcps1.3.4.2.2.4.1.3 "><p id="antiddos_02_0019__p12986251">Internal error description</p>
</td>
</tr>
<tr id="antiddos_02_0019__row49767403"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.2.2.4.1.1 "><p id="antiddos_02_0019__p4627874">task_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.14%" headers="mcps1.3.4.2.2.4.1.2 "><p id="antiddos_02_0019__p39313476">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.629999999999995%" headers="mcps1.3.4.2.2.4.1.3 "><p id="antiddos_02_0019__p50320472162213">ID of a task. This ID can be used to query the status of the task.</p>
<p id="antiddos_02_0019__p30275003">This field is reserved for use in task auditing later. It is temporarily unused.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="antiddos_02_0019__section555716477373"><h4 class="sectiontitle">Example</h4><ul id="antiddos_02_0019__ul178811332182913"><li id="antiddos_02_0019__li966416362293">Example request<pre class="codeblock" id="antiddos_02_0019__codeblock10809699144055">DELETE /v1/67641fe6886f43fcb78edbbf0ad0b99f/antiddos/1df977c2-fdc6-4483-bc1c-ba46829f57b8</pre>
</li></ul>
</div>
<ul id="antiddos_02_0019__ul85717470379"><li id="antiddos_02_0019__li65712047153715">Example response<pre class="screen" id="antiddos_02_0019__screen1557114719378">{
"error_code": "10000000",
"error_description": "Task has been received and is being processed.",
"task_id": "d90dc577-abd2-4be0-b2cf-cb8f5f67ddb0"
}</pre>
</li></ul>
<div class="section" id="antiddos_02_0019__section16673895"><h4 class="sectiontitle">Status Code</h4><p id="antiddos_02_0019__p62919444">See <a href="antiddos_02_0031.html">Status Code</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="antiddos_02_0016.html">Anti-DDoS APIs</a></div>
</div>
</div>