> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usefini.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update knowledge folder

> Update a folder's title, description, or active state.

Use this route to update an existing folder in the knowledge tree.

## Headers

<ParamField header="Authorization" type="string" required>
  Bearer token containing your Fini workspace API key. Format: `Bearer fini_...` The key needs `write` scope.
</ParamField>

<ParamField header="Content-Type" type="string" required>
  `application/json`
</ParamField>

## Path parameters

<ParamField path="id" type="string" required>
  Folder ID to update.
</ParamField>

## Body parameters

<ParamField body="title" type="string" required>
  Updated folder title.
</ParamField>

<ParamField body="description" type="string" required>
  Updated folder description.
</ParamField>

<ParamField body="active" type="boolean" required>
  Whether the folder should remain active.
</ParamField>

## Response

Returns the full updated knowledge folder object. See [Organize knowledge](/en/api-reference/organize-knowledge) for the shared folder fields.

## Errors

<AccordionGroup>
  <Accordion title="400 Bad Request" icon="circle-exclamation">
    The request body is malformed.
  </Accordion>

  <Accordion title="401 Unauthorized" icon="lock">
    The API key is missing, malformed, revoked, or invalid.
  </Accordion>

  <Accordion title="403 Forbidden" icon="shield-halved">
    The API key does not include the `write` scope.
  </Accordion>

  <Accordion title="404 Not Found" icon="ghost">
    The folder does not exist in the workspace.
  </Accordion>
</AccordionGroup>
