Files
doc-exports/docs/rds/api-ref/rds_20_0002.html
wangdengke2 1ddaec1a62 rds_api
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2026-01-29 11:28:26 +00:00

150 lines
13 KiB
HTML

<a name="rds_20_0002"></a><a name="rds_20_0002"></a>
<h1 class="topictitle1">Deleting a SQL Throttling Rule</h1>
<div id="body0000002409878045"><div class="section" id="rds_20_0002__en-us_topic_0000001740085332_section4850156117316"><h4 class="sectiontitle">Function</h4><p id="rds_20_0002__en-us_topic_0000001740085332_p52780252141331">This API is used to delete a SQL throttling rule.</p>
<ul id="rds_20_0002__ul10163594121"><li id="rds_20_0002__en-us_topic_0240111818_li836513175363">Before calling an API, you need to understand the API in <a href="rds_03_0001.html">Authentication</a>.</li><li id="rds_20_0002__en-us_topic_0240111818_li1991981933613">Before calling this API, obtain the required <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">region and endpoint</a>.</li></ul>
</div>
<div class="section" id="rds_20_0002__en-us_topic_0000001740085332_section28961517113719"><h4 class="sectiontitle">URI</h4><ul id="rds_20_0002__en-us_topic_0000001740085332_ul16391217184115"><li id="rds_20_0002__en-us_topic_0000001740085332_li363951734111">URI format<p id="rds_20_0002__en-us_topic_0000001740085332_p94335427219"><a name="rds_20_0002__en-us_topic_0000001740085332_li363951734111"></a><a name="en-us_topic_0000001740085332_li363951734111"></a>DELETE https://{<em id="rds_20_0002__en-us_topic_0000001740085332_i1750714462212">Endpoint</em>}/v3/{project_id}/instances/{instance_id}/sql-limit</p>
</li></ul>
<ul id="rds_20_0002__en-us_topic_0000001740085332_ul49831254144655"><li id="rds_20_0002__en-us_topic_0000001740085332_li15430535">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_20_0002__en-us_topic_0000001740085332_table4657088" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="rds_20_0002__en-us_topic_0000001740085332_row60083059"><th align="left" class="cellrowborder" valign="top" width="20.93%" id="mcps1.3.2.3.1.1.2.4.1.1"><p id="rds_20_0002__en-us_topic_0000001740085332_p34889605"><strong id="rds_20_0002__b465631113816">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.6%" id="mcps1.3.2.3.1.1.2.4.1.2"><p id="rds_20_0002__en-us_topic_0000001740085332_p7485743"><strong id="rds_20_0002__b958154792217">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="62.470000000000006%" id="mcps1.3.2.3.1.1.2.4.1.3"><p id="rds_20_0002__en-us_topic_0000001740085332_p2365466"><strong id="rds_20_0002__b189074982212">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="rds_20_0002__en-us_topic_0000001740085332_row57385070"><td class="cellrowborder" valign="top" width="20.93%" headers="mcps1.3.2.3.1.1.2.4.1.1 "><p id="rds_20_0002__en-us_topic_0000001740085332_p12111457112114">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.6%" headers="mcps1.3.2.3.1.1.2.4.1.2 "><p id="rds_20_0002__en-us_topic_0000001740085332_p121111157122114">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="62.470000000000006%" headers="mcps1.3.2.3.1.1.2.4.1.3 "><p id="rds_20_0002__p30492010">Specifies the project ID of a tenant in a region.</p>
<p id="rds_20_0002__p7139608914">For details about how to obtain the project ID, see <a href="rds_03_0002.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="rds_20_0002__en-us_topic_0000001740085332_row2864326155157"><td class="cellrowborder" valign="top" width="20.93%" headers="mcps1.3.2.3.1.1.2.4.1.1 "><p id="rds_20_0002__en-us_topic_0000001740085332_p71121557112113">instance_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.6%" headers="mcps1.3.2.3.1.1.2.4.1.2 "><p id="rds_20_0002__en-us_topic_0000001740085332_p181124575218">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="62.470000000000006%" headers="mcps1.3.2.3.1.1.2.4.1.3 "><p id="rds_20_0002__en-us_topic_0000001740085332_p64450739155220">Instance ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="rds_20_0002__en-us_topic_0000001740085332_section3074340117316"><h4 class="sectiontitle">Request</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_20_0002__table12536623333" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="rds_20_0002__row153612211337"><th align="left" class="cellrowborder" valign="top" width="19.7%" id="mcps1.3.3.2.2.5.1.1"><p id="rds_20_0002__p95111733143318">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.780000000000001%" id="mcps1.3.3.2.2.5.1.2"><p id="rds_20_0002__p13511123373311">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.959999999999999%" id="mcps1.3.3.2.2.5.1.3"><p id="rds_20_0002__p125111433133312">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.559999999999995%" id="mcps1.3.3.2.2.5.1.4"><p id="rds_20_0002__p551110331335">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="rds_20_0002__row353717218338"><td class="cellrowborder" valign="top" width="19.7%" headers="mcps1.3.3.2.2.5.1.1 "><p id="rds_20_0002__p18511533163317">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="13.780000000000001%" headers="mcps1.3.3.2.2.5.1.2 "><p id="rds_20_0002__p13511153333312">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.959999999999999%" headers="mcps1.3.3.2.2.5.1.3 "><p id="rds_20_0002__p55111833183319">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.559999999999995%" headers="mcps1.3.3.2.2.5.1.4 "><p id="rds_20_0002__p35111331332">The content type.</p>
<p id="rds_20_0002__p1351133311330">The default value is <strong id="rds_20_0002__b105111133143310">application/json</strong>.</p>
</td>
</tr>
<tr id="rds_20_0002__row05378213331"><td class="cellrowborder" valign="top" width="19.7%" headers="mcps1.3.3.2.2.5.1.1 "><p id="rds_20_0002__p1163015550331">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="13.780000000000001%" headers="mcps1.3.3.2.2.5.1.2 "><p id="rds_20_0002__p1963035563316">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.959999999999999%" headers="mcps1.3.3.2.2.5.1.3 "><p id="rds_20_0002__p1630105520331">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.559999999999995%" headers="mcps1.3.3.2.2.5.1.4 "><p id="rds_20_0002__p1086851153317">Specifies the user token.</p>
<p id="rds_20_0002__p1057635831">The user token is a response to the API used to <a href="https://docs.otc.t-systems.com/en-us/api/iam/en-us_topic_0057845583.html" target="_blank" rel="noopener noreferrer">obtain a user token</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_20_0002__en-us_topic_0000001789916316_table156101520194220" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameters</caption><thead align="left"><tr id="rds_20_0002__en-us_topic_0000001789916316_row5679132013427"><th align="left" class="cellrowborder" valign="top" width="16.43%" id="mcps1.3.3.3.2.5.1.1"><p id="rds_20_0002__en-us_topic_0000001789916316_p66795203422"><strong id="rds_20_0002__b596951422316">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="9.92%" id="mcps1.3.3.3.2.5.1.2"><p id="rds_20_0002__en-us_topic_0000001789916316_p66798203421"><strong id="rds_20_0002__b198641217152319">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.47%" id="mcps1.3.3.3.2.5.1.3"><p id="rds_20_0002__en-us_topic_0000001789916316_p8679152011425"><strong id="rds_20_0002__b41788195236">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="61.18%" id="mcps1.3.3.3.2.5.1.4"><p id="rds_20_0002__en-us_topic_0000001789916316_p8679112016428"><strong id="rds_20_0002__b1460352012233">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="rds_20_0002__en-us_topic_0000001789916316_row19679172018426"><td class="cellrowborder" valign="top" width="16.43%" headers="mcps1.3.3.3.2.5.1.1 "><p id="rds_20_0002__p111923249402">db_name</p>
</td>
<td class="cellrowborder" valign="top" width="9.92%" headers="mcps1.3.3.3.2.5.1.2 "><p id="rds_20_0002__p419202419403">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.47%" headers="mcps1.3.3.3.2.5.1.3 "><p id="rds_20_0002__p111921324174014">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.18%" headers="mcps1.3.3.3.2.5.1.4 "><p id="rds_20_0002__p17192192416409">Database name. For example: "<strong id="rds_20_0002__b2044683010394">postgres</strong>".</p>
</td>
</tr>
<tr id="rds_20_0002__en-us_topic_0000001789916316_row167912013425"><td class="cellrowborder" valign="top" width="16.43%" headers="mcps1.3.3.3.2.5.1.1 "><p id="rds_20_0002__p81921242405">id</p>
</td>
<td class="cellrowborder" valign="top" width="9.92%" headers="mcps1.3.3.3.2.5.1.2 "><p id="rds_20_0002__p319217245400">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.47%" headers="mcps1.3.3.3.2.5.1.3 "><p id="rds_20_0002__p619218246402">String</p>
</td>
<td class="cellrowborder" valign="top" width="61.18%" headers="mcps1.3.3.3.2.5.1.4 "><p id="rds_20_0002__p81921242403">SQL throttling rule ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="rds_20_0002__section616712222914"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="rds_20_0002__screen1223914394918">DELETE https://rds.eu-de.otc.t-systems.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/49b9dd1d6f464ba4bc91df5cbd2e52ebin03/sql-limit
{
"db_name" : "postgres",
"id" : "1"
}</pre>
</div>
<div class="section" id="rds_20_0002__en-us_topic_0000001740085332_section28521534113742"><h4 class="sectiontitle">Response</h4><ul id="rds_20_0002__en-us_topic_0000001740085332_ul12573920"><li id="rds_20_0002__en-us_topic_0000001740085332_li46056421">Normal response
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_20_0002__en-us_topic_0000001740085332_table32267243" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Parameters</caption><thead align="left"><tr id="rds_20_0002__en-us_topic_0000001740085332_row9230088"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.5.2.1.1.2.4.1.1"><p id="rds_20_0002__en-us_topic_0000001740085332_p9439626"><strong id="rds_20_0002__b41461016182411">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.5.2.1.1.2.4.1.2"><p id="rds_20_0002__en-us_topic_0000001740085332_p26412257"><strong id="rds_20_0002__b18805175247">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.5.2.1.1.2.4.1.3"><p id="rds_20_0002__en-us_topic_0000001740085332_p59018101"><strong id="rds_20_0002__b18695111942412">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="rds_20_0002__en-us_topic_0000001740085332_row15736877"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.1.2.4.1.1 "><p id="rds_20_0002__p1076440174017">resp</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.1.2.4.1.2 "><p id="rds_20_0002__p187664017401">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.1.2.4.1.3 "><p id="rds_20_0002__en-us_topic_0000001835093082_en-us_topic_0000001818123618_p8319746113518">Returns <strong id="rds_20_0002__b1831403194812">successful</strong> if the calling is successful.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="rds_20_0002__en-us_topic_0000001740085332_ul16665627"><li id="rds_20_0002__en-us_topic_0000001740085332_li15772917">Example normal response<pre class="screen" id="rds_20_0002__en-us_topic_0000001740085332_screen87211642172311">{
"resp" : "successful"
}</pre>
</li><li id="rds_20_0002__en-us_topic_0000001740085332_li3071312613">Abnormal response<p id="rds_20_0002__p61847101204"><a name="rds_20_0002__en-us_topic_0000001740085332_li3071312613"></a><a name="en-us_topic_0000001740085332_li3071312613"></a>For details, see <a href="en-us_topic_0032488197.html">Abnormal Request Results</a>.</p>
</li></ul>
</div>
<div class="section" id="rds_20_0002__section4778540915440"><h4 class="sectiontitle">Status Code</h4><ul id="rds_20_0002__en-us_topic_0032347778_ul7858132212142"><li id="rds_20_0002__en-us_topic_0032347778_li58581622171411">Normal<p id="rds_20_0002__en-us_topic_0032347778_p1040982941020"><a name="rds_20_0002__en-us_topic_0032347778_li58581622171411"></a><a name="en-us_topic_0032347778_li58581622171411"></a>200</p>
</li><li id="rds_20_0002__en-us_topic_0032347778_li11583183218149">Abnormal<p id="rds_20_0002__en-us_topic_0032347778_p0723374409"><a name="rds_20_0002__en-us_topic_0032347778_li11583183218149"></a><a name="en-us_topic_0032347778_li11583183218149"></a>For details, see <a href="en-us_topic_0032488240.html">Status Codes</a>.</p>
</li></ul>
</div>
<div class="section" id="rds_20_0002__section1183074220016"><h4 class="sectiontitle">Error Code</h4><p id="rds_20_0002__en-us_topic_0032347778_p19357163913406">For details, see <a href="en-us_topic_0032488241.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_20_0000.html">SQL Throttling (RDS for PostgreSQL)</a></div>
</div>
</div>