Skip to main content
PUT
/
v2
/
hc-folders
/
{id}
/
move
/
public
Move knowledge folder
curl --request PUT \
  --url https://api-prod.usefini.com/v2/hc-folders/{id}/move/public \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "parentFolderId": "<string>"
}
'
Use this route to change where a folder sits in the tree.

Headers

Authorization
string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.
Content-Type
string
required
application/json

Path parameters

id
string
required
Folder ID to move.

Body parameters

parentFolderId
string
required
Destination parent folder ID.

Response

Returns the moved knowledge folder object. See Organize knowledge for the shared folder fields.
The response reflects the folder after its parentFolderId has been updated.

Errors

The request body is malformed.
The API key is missing, malformed, revoked, or invalid.
The API key does not include the write scope.
The folder does not exist, the destination parent folder does not exist, or the requested tree change is not allowed.