The DeleteKeyPair operation deletes a
keypair.
The following table describes the request parameters for
DeleteKeyPair. Parameter names are
case sensitive.
| Element Name | Definition | Required? | Type |
|---|---|---|---|
keyName
| Name of the keypair to delete. | Yes | xsd:string |
The following table describes the default response tags included
in DeleteKeyPair responses.
| Element Name | Definition | Type |
|---|---|---|
return
| true if the key was successfully deleted. | xsd:boolean |
<DeleteKeyPair xmlns="http://ec2.amazonaws.com/doc/2007-01-19">
<keyName>example-key-name</keyName>
</DeleteKeyPair><DescribeKeyPairs xmlns="http://ec2.amazonaws.com/doc/2007-01-19"> <return>true</return> </DescribeKeyPairs></SOAP-ENV:Body></SOAP-ENV:Envelope>