PUT
/
api
/
v1
/
knowledge
/
folder
/
{id}
curl --request PUT \
  --url https://chat.api.toolzz.com.br/api/v1/knowledge/folder/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "id": "<string>",
  "institutionId": "<string>",
  "name": "<string>",
  "isRoot": true
}

Body Description

id
string
required

The Folder Id

name
string
required

The New Folder Name

Response Description

Below you will see the description of the KnowledgeBase response

id
uuid
required

Unique identifier of the folder.

institutionId
uuid
required

Identifier of the associated institution.

name
string
required

Name of the folder.

isRoot
boolean
required

Indicates if the folder is a root folder.