DeleteAccessKey
Deletes the access key pair that is associated with the specified IAM user.
If you do not specify a user name, IAM determines the user name implicitly based on the MSDP S3 access key ID signing the request.
Request Parameters
For information about the parameters that are common to all actions, See Common Parameters.
AccessKeyId
The access key ID for the access key ID and secret access key you want to delete.
Type: String
Length Constraints: Minimum length of 16. Maximum length of 128.
Pattern: [\w]+
Required: Yes
UserName
The name of the IAM user.
This parameter is optional. If it is not included, it defaults to the user making the request.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern: [\w+=,.@-]+
Required: No
Errors
For information about the errors that are common to all actions, See Common Error Codes.
NoSuchEntity
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
HTTP Status Code: 404
ServiceFailure
The request processing has failed because of an unknown error, exception, or failure.
HTTP Status Code: 500
Examples
Sample Request:
https://msdps3.veritas.com:8443/?Action=DeleteAccessKey &AccessKeyId=GAATH0QN9N5W8TBQPSKPJ &UserName=User1 &Version=2010-05-08 &AUTHPARAMS
Sample Response:
<?xml version="1.0" encoding="UTF-8"?>
<DeleteAccessKeyResponse
xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
<ResponseMetadata>
<RequestId>1648451304149485569</RequestId>
</ResponseMetadata>
</DeleteAccessKeyResponse>