---
title: "Set default storage backend"
method: PUT
path: "/storage-backends/{id}/default"
tags: ["StorageBackend"]
---

# Set default storage backend

`PUT /storage-backends/{id}/default`

Mark a storage backend as the workspace default. Only an active backend can become the default. New knowledge bases without an explicit binding use the default.

## Path parameters

- `id` string, required

## Response `200`

Default set successfully

- object

## Other responses

- `400` — Backend is not active
- `401` — Unauthorized
- `404` — Storage backend not found

## Changes

- **2026-07-15** `b2cfb8156e2e` — 1 info
  - endpoint added
- **2025-12-16** `edf61e68559d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/storage-backends/:id/default/put.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/ef2e057b249e/schema)
