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-05-05"> <keyName>example-key-name</keyName> </DeleteKeyPair>
Sample Response
<DeleteKeyPair xmlns="http://ec2.amazonaws.com/doc/2008-05-05"> <return>true</return> </DeleteKeyPair>