PATCH
/
v1
/
pathway
/
folders
/
{folder_id}
Update Folder
curl --request PATCH \
  --url https://us.api.bland.ai/v1/pathway/folders/{folder_id} \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "name": "<string>"
}'
{
  "folder_id": "updated_folder_123",
  "name": "Updated Folder Name",
  "parent_folder_id": null
}

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

folder_id
string
required
The ID of the folder to update.

Body Parameters

name
string
required
The new name for the folder.

Response

folder_id
string
The unique identifier of the updated folder.
name
string
The updated name of the folder.
parent_folder_id
string
The ID of the parent folder, if applicable.
{
  "folder_id": "updated_folder_123",
  "name": "Updated Folder Name",
  "parent_folder_id": null
}