UpdateAccessKey

GET /?Action=UpdateAccessKey
Description

Modifies the status of the specified access key from Active to Inactive, or from Inactive to Active.
The Active status means that the user the access key is associated with can use it for API calls. The Inactive status means the access key is disabled.
If you do not specify a user name, this action modifies the access key of the user who signs the request.

Body parameter

Required: false
Name: UpdateAccessKeyRequest

Name Description Required Schema Default Example

AccessKeyId

The ID of the access key.

true

string

Status

The status of the access key (Active | Inactive).

true

string

UserName

The user name the access key you want to modify is associated with.

false

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

UpdateAccesskeyResponse

Response 200

Response 200

Name Description Required Schema Default Example

ResponseMetadata

Information about the response.

false

ResponseMetadata