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

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
Minimum string length: 1

Response

200

Chat renamed