v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14159650798.5 KB

Deletes an access key for the specified Amazon Lightsail bucket.

We recommend that you delete an access key if the secret access key is compromised.

For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.

post/#X-Amz-Target=Lightsail_20161128.DeleteBucketAccessKey

Headers

X-Amz-Target'Lightsail_20161128.DeleteBucketAccessKey' required

Request body

bucketNamestring required

The name of the bucket that the access key belongs to.

accessKeyIdstring required
<p>The ID of the access key to delete.</p> <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html">GetBucketAccessKeys</a> action to get a list of access key IDs that you can specify.</p>

Response

Success