---
title: "Update key"
method: PATCH
path: "/api/v1/keys/{key}"
tags: ["Key"]
---

# Update key

`PATCH /api/v1/keys/{key}`

Update buckets of key ( redefine )

## Path parameters

- `key` string, required

## Request body

- CreateKey
  - `buckets` object[]
  - `description` string

## Response `200`

successful operation

- object
  - `status` string

## Other responses

- `400` — Bad Request
- `401` — Missing authentication
- `404` — Not Found
- `409` — Conflict
- `500` — server does not response

---

[API](https://skmtc.net/liara-cloud/apis/object-storage-api-documentaion.md) · [All operations](https://skmtc.net/liara-cloud/apis/object-storage-api-documentaion/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/liara-cloud/object-storage-api-documentaion/versions/b0ca12d806de/schema)
