diff --git a/src/content/docs/r2/buckets/bucket-locks.mdx b/src/content/docs/r2/buckets/bucket-locks.mdx index b3c8cd09a76146..67261283a92f7b 100644 --- a/src/content/docs/r2/buckets/bucket-locks.mdx +++ b/src/content/docs/r2/buckets/bucket-locks.mdx @@ -12,12 +12,16 @@ Bucket locks prevent the deletion and overwriting of objects in an R2 bucket for Before getting started, you will need: - An existing R2 bucket. If you do not already have an existing R2 bucket, refer to [Create buckets](/r2/buckets/create-buckets/). -- An API token with [permissions](/r2/api/s3/tokens/#permissions) to edit R2 bucket configuration. +- If using the API, an API token with [permissions](/r2/api/s3/tokens/#permissions) to edit R2 bucket configuration. -:::note +### Enable bucket lock in the dashboard + +To enable bucket lock via the dashboard: + +1. Go to **R2 Object Storage** and select the bucket. +2. Go to the **Settings** tab, and find **Bucket Lock Rules**. +3. Create a policy by clicking the **Add rule** button. -Currently, Bucket locks are only configurable via API. -::: ### Enable bucket lock via API