Skip to main content
PUT
/
api
/
kb
/
collections
/
{collection_name}
Rename Collection Api
curl --request PUT \
  --url https://api.example.com/api/kb/collections/{collection_name} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'new_name=<string>'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

collection_name
string
required

Body

application/x-www-form-urlencoded
new_name
string
required

New collection name

Response

Successful Response

The response is of type Response Rename Collection Api Api Kb Collections Collection Name Put · object.