AWS SDK for .NET Documentation
DeleteAccessKeyRequest Class
AmazonAmazon.IdentityManagement.ModelDeleteAccessKeyRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the DeleteAccessKey operation. 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#
public class DeleteAccessKeyRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DeleteAccessKeyRequest()()()()
Initializes a new instance of the DeleteAccessKeyRequest class

AccessKeyId
Gets and sets the property AccessKeyId.

The access key ID for the access key ID and secret access key you want to delete.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UserName
Gets and sets the property UserName.

Name of the user whose key you want to delete.


WithAccessKeyId(String) Obsolete.
Sets the AccessKeyId property

WithUserName(String) Obsolete.
Sets the UserName property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 DeleteAccessKeyRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)