Deletes the specified SSH public key.
The SSH public key deleted by this action is used only for authenticating the associated IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide.
For information about the parameters that are common to all actions, see Common Parameters.
The unique identifier for the SSH public key.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
Length Constraints: Minimum length of 20. Maximum length of 128.
The name of the IAM user associated with the SSH public key.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
Length Constraints: Minimum length of 1. Maximum length of 64.
For information about the errors that are common to all actions, see Common Errors.
The request was rejected because it referenced an entity that does not exist. The error message describes the entity.
HTTP Status Code: 404
https://iam.amazonaws.com/?Action=DeleteSSHPublicKey &SSHPublicKeyId=APKAEIVFHP46CEXAMPLE &UserName=Jane &Version=2010-05-08 &AUTHPARAMS
<DeleteSSHPublicKeyResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/"> <ResponseMetadata> <RequestId>1a21282e-f36e-11e4-a53b-6b544EXAMPLE</RequestId> </ResponseMetadata> </DeleteSSHPublicKeyResponse>
For more information about using this API in one of the language-specific AWS SDKs, see the following: