doc-exports/docs/ecs/api-ref/en-us_topic_0020212680.html
Artem Goncharov 3196b64bfc
move doc sources to other location (#3)
move doc sources to other location

Reviewed-by: OpenTelekomCloud Bot <None>
2022-04-27 16:24:25 +00:00

54 lines
4.0 KiB
HTML

<a name="EN-US_TOPIC_0020212680"></a><a name="EN-US_TOPIC_0020212680"></a>
<h1 class="topictitle1">Deleting an SSH Key Pair</h1>
<div id="body60543203"><div class="section" id="EN-US_TOPIC_0020212680__section33132068"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0020212680__p5052426">This API is used to delete a specified SSH key pair based on the SSH key pair name.</p>
</div>
<div class="section" id="EN-US_TOPIC_0020212680__section29753161"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020212680__p18527629153513">DELETE /v2.1/{project_id}/os-keypairs/{keypair_name}</p>
<p id="EN-US_TOPIC_0020212680__p176531421143">DELETE /v2/{project_id}/os-keypairs/{keypair_name}</p>
<div class="p" id="EN-US_TOPIC_0020212680__p8158134920174"><a href="#EN-US_TOPIC_0020212680__table48776445">Table 1</a> describes the parameters in the URI.
<div class="tablenoborder"><a name="EN-US_TOPIC_0020212680__table48776445"></a><a name="table48776445"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0020212680__table48776445" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0020212680__row64721603"><th align="left" class="cellrowborder" valign="top" width="20.18%" id="mcps1.3.2.4.2.2.4.1.1"><p id="EN-US_TOPIC_0020212680__p5187119">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.169999999999998%" id="mcps1.3.2.4.2.2.4.1.2"><p id="EN-US_TOPIC_0020212680__p17503500">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="62.64999999999999%" id="mcps1.3.2.4.2.2.4.1.3"><p id="EN-US_TOPIC_0020212680__p8497414">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0020212680__row8464456"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.2.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0020212680__p14532322">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.169999999999998%" headers="mcps1.3.2.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0020212680__p36267453">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="62.64999999999999%" headers="mcps1.3.2.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0020212680__p37593705">Specifies the project ID.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0020212680__row65190153"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.2.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0020212680__p45911036">keypair_name</p>
</td>
<td class="cellrowborder" valign="top" width="17.169999999999998%" headers="mcps1.3.2.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0020212680__p27806444">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="62.64999999999999%" headers="mcps1.3.2.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0020212680__p37729472">Specifies the key pair name.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0020212680__section66451858"><h4 class="sectiontitle">Request</h4><p id="EN-US_TOPIC_0020212680__p57260009">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0020212680__section61195818"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0020212680__p7549159">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0020212680__section118665219435"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0020212680__screen6763573271">DELETE https://{endpoint}/v2/{project_id}/os-keypairs/{keypair_name}
DELETE https://{endpoint}/v2.1/{project_id}/os-keypairs/{keypair_name}</pre>
</div>
<div class="section" id="EN-US_TOPIC_0020212680__section19716123044320"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0020212680__p15562123319432">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0020212680__section13891457"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0020212680__p7502182">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0020212675.html">Key and Password Management</a></div>
</div>
</div>