UpdateAccessKey

GET /?Action=UpdateAccessKey
Description

Modifies the status of the specified access key associated with the account that sends the request.
When set to active, the access key is enabled and can be used to send requests. When set to inactive, the access key is disabled.

Note

To protect against brute force attacks, the number of requests allowed for this method in a given time period is limited.

Body parameter

Required: false
Name: UpdateAccessKeyRequest

Name Description Required Schema Default Example

AccessKeyId

The ID of the access key.

true

string

Status

The new state for the access key (active | inactive).

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

UpdateAccessKeyResult

Response 200

Response 200

Name Description Required Schema Default Example

ResponseMetadata

Information about the response.

false

ResponseMetadata

Return

If true, the specified access key is updated. Otherwise, an error is returned.

false

boolean