AWS SDK for .NET Documentation
DeleteAccessKey Method (deleteAccessKeyRequest)
AmazonAmazon.IdentityManagementAmazonIdentityManagementServiceDeleteAccessKey(DeleteAccessKeyRequest) Did this page help you?   Yes   No    Tell us about it...

Deletes the access key associated with the specified user.

If you do not specify a user name, IAM determines the user name implicitly based on the AWS Access Key ID signing the request. Because this action works for access keys under the AWS account, you can use this API to manage root credentials even if the AWS account has no associated users.

Declaration Syntax
C#
DeleteAccessKeyResponse DeleteAccessKey(
	DeleteAccessKeyRequest deleteAccessKeyRequest
)
Parameters
deleteAccessKeyRequest (DeleteAccessKeyRequest)
Container for the necessary parameters to execute the DeleteAccessKey service method on AmazonIdentityManagementService.
Exceptions
ExceptionCondition
NoSuchEntityException

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.20.0 (1.5.20.0)