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: String |
Yes |
Response Elements
The following table describes the default response tags included
in DeleteKeyPair
responses.
Name | Description |
---|---|
|
Type: xsd:boolean |
Sample Request
https://ec2.amazonaws.com/ ?Action=DeleteKeyPair &KeyName=example-key-name &...auth parameters...
Sample Response
<DeleteKeyPair xmlns="http://ec2.amazonaws.com/doc/2008-08-08"> <return>true</return> </DeleteKeyPair>