forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
51 lines
4.3 KiB
HTML
51 lines
4.3 KiB
HTML
<a name="en-us_topic_0056890052"></a><a name="en-us_topic_0056890052"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a DB Instance</h1>
|
|
<div id="body1492603082525"><div class="section" id="en-us_topic_0056890052__section36524518102048"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0056890052__p5695975102048">This API is used to delete a DB instance.</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890052__section51263775102048"><h4 class="sectiontitle">URI</h4><ul id="en-us_topic_0056890052__ul58725117102048"><li id="en-us_topic_0056890052__li58764013102048">URI format<p id="en-us_topic_0056890052__p1645253317142"><a name="en-us_topic_0056890052__li58764013102048"></a><a name="li58764013102048"></a>PATH: /v1.0/{project_id}/instances/{instanceId}</p>
|
|
<p id="en-us_topic_0056890052__p59114076102048">Method: DELETE</p>
|
|
</li><li id="en-us_topic_0056890052__li23510884102048">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890052__table10271366102048" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056890052__row47701174102048"><th align="left" class="cellrowborder" valign="top" width="26.240000000000002%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="en-us_topic_0056890052__p4909390317443"><strong id="en-us_topic_0056890052__b84235270691445_1">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.77%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="en-us_topic_0056890052__p2043144817443"><strong id="en-us_topic_0056890052__b842352706102346_1">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32.99%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="en-us_topic_0056890052__p6346699117443"><strong id="en-us_topic_0056890052__b842352706163417_1">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890052__row105028141826"><td class="cellrowborder" valign="top" width="26.240000000000002%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="en-us_topic_0056890052__p40108143174242">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.77%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="en-us_topic_0056890052__p27534111174242">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.99%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="en-us_topic_0056890052__p15670491174242">Specifies the project ID of a tenant in a region.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890052__row65712913102048"><td class="cellrowborder" valign="top" width="26.240000000000002%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="en-us_topic_0056890052__p57964633112316">instanceId</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.77%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="en-us_topic_0056890052__p64623711112316">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.99%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="en-us_topic_0056890052__p3975356017443">Specifies the ID of the DB instance to be deleted.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0056890052__ul48889482102048"><li id="en-us_topic_0056890052__li59531373">Restrictions<ul id="en-us_topic_0056890052__ul14529220121258"><li id="en-us_topic_0056890052__li24712483121257">The standby DB instance cannot be deleted.</li><li id="en-us_topic_0056890052__li207907212139">All automated backups will be deleted and all manual backups will be retained.</li><li id="en-us_topic_0056890052__li28430482121257">Currently, only the DB engines MySQL and PostgreSQL are supported by the API.</li></ul>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890052__section11352400112951"><h4 class="sectiontitle">Request</h4><p id="en-us_topic_0056890052__p62108052112954">None</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890052__section13572792102048"><h4 class="sectiontitle">Normal Response</h4><p id="en-us_topic_0056890052__p656406619616">None</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890052__section64738761102048"><h4 class="sectiontitle">Abnormal Response</h4><p id="en-us_topic_0056890052__p9348284102048">For details, see <a href="en-us_topic_0032488197.html">Abnormal Request Results</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_06_0021.html">DB Instance Management</a></div>
|
|
</div>
|
|
</div>
|
|
|