---
title: "update kb space"
method: PUT
path: "/admin/kb/{kb_id}/space/{space_id}"
tags: ["space"]
---

# update kb space

`PUT /admin/kb/{kb_id}/space/{space_id}`

## Path parameters

- `kb_id` integer, required
- `space_id` integer, required

## Request body

- SvcUpdateSpaceReq
  - `opt` ModelPlatformOpt
    - `access_token` string
    - `app_id` string
    - `phone` string
    - `refresh_token` string
    - `secret` string
    - `url` string
    - `user_third_id` string
    - `username` string
  - `title` string

## Response `200`

OK

- ContextResponse
  - `data` unknown
  - `err` string
  - `msg` string
  - `success` boolean
  - `trace_id` string

---

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