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 |
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
|
https://ec2.amazonaws.com/ ?Action=DeleteKeyPair &KeyName=example-key-name &...auth parameters...
<DeleteKeyPair xmlns="http://ec2.amazonaws.com/doc/2007-01-03"> <return>true</return> </DeleteKeyPair>