跳转到主要内容
PATCH
/
base
/
{baseId}
cURL
curl --request PATCH \
  --url http://127.0.0.1:3000/api/base/{baseId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "icon": "<string>"
}
'
{
  "spaceId": "<string>",
  "name": "<string>",
  "icon": "<string>"
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

baseId
string
必填

请求体

application/json
name
string
icon
string

响应

200 - application/json

Returns information about a successfully updated base.

spaceId
string
必填
name
string
必填
icon
string<emoji> | null
Last modified on December 10, 2025