---
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

---

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