---
title: "Update lifecycle rule"
method: PUT
path: "/storage/buckets/{bucket_id}/lifecycle_rules/{id}"
tags: ["Object Storage"]
---

# Update lifecycle rule

`PUT /storage/buckets/{bucket_id}/lifecycle_rules/{id}`

Updates an existing lifecycle rule for an object storage bucket.

## Path parameters

- `bucket_id` string, required
- `id` string, required

## Response `200`

Success

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.net/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/latitude/latitude-sh-api/revisions/d664a75aaba5/schema)
