DeleteKeyPair
The DeleteKeyPair operation deletes a
key pair.
Request Parameters
The following table describes the request parameters for
DeleteKeyPair. Parameter names are
case sensitive.
| Name | Description | Required |
|---|---|---|
|
|
Name of the key pair to delete. Type: xsd:string |
Yes |
Response Elements
The following table describes the default response tags included
in DeleteKeyPair responses.
| Name | Description |
|---|---|
|
|
Type: xsd:boolean |
Sample Request
<DeleteKeyPair xmlns="http://ec2.amazonaws.com/doc/2008-08-08">
<keyName>example-key-name</keyName>
</DeleteKeyPair>
Sample Response
<DeleteKeyPair xmlns="http://ec2.amazonaws.com/doc/2008-08-08"> <return>true</return> </DeleteKeyPair>