• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. API Reference
  4. API
  5. BMS SSH Key Pair Management (Native OpenStack APIs)
  6. Deleting an SSH Key Pair (Native OpenStack API)

Deleting an SSH Key Pair (Native OpenStack API)

Function

This interface is used to delete a specified SSH key pair based on the key pair name.

URI

DELETE /v2.1/{project_id}/os-keypairs/{keypair_name}

Table 1 lists the parameters.

Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

keypair_name

Yes

Specifies the key pair name.

Request Message

N/A

Response Message

N/A

Returned Values

See section Common Returned Values.