Updated on 2024-08-06 GMT+08:00

Deleting an SSH Key Pair (V2)

Function

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

URI

  • URI format

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

  • Parameter description
    Table 1 Parameter description

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID

    keypair_name

    Yes

    String

    Name of an SSH key pair

Requests

None

Responses

None

Status Codes

For details, see Status Codes.