DeleteKeyPair
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-03">
<keyName>example-key-name</keyName>
</DeleteKeyPair>
<DeleteKeyPair xmlns="http://ec2.amazonaws.com/doc/2007-01-03"> <return>true</return> </DeleteKeyPair>