---
title: "Rename or reparent a folder"
method: PATCH
path: "/folders/{folderId}"
tags: ["Folders"]
---

# Rename or reparent a folder

`PATCH /folders/{folderId}`

## Request

- Base URL: `https://app.arkova.ai/api/v1`
- URL: `https://app.arkova.ai/api/v1/folders/{folderId}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Path parameters

- `folderId` string, uuid, required

## Request body

- object
  - `name` string
  - `parent_folder_id` string, uuid, nullable

## Response `200`

Folder updated

- object
  - `folder` Folder
    - `id` string, uuid, required
    - `public_id` string, required
    - `name` string, required
    - `owner_scope` 'USER' | 'ORG', required
    - `user_id` string, uuid, nullable
    - `org_id` string, uuid, nullable
    - `context_org_id` string, uuid, nullable
    - `parent_folder_id` string, uuid, nullable
    - `connector_provider` 'google_drive' | 'docusign', nullable
    - `connector_source_id` string, nullable
    - `connector_connection_id` string, uuid, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `400`: Invalid request
- `404`: Resource not found

---

[API](https://skmtc.dev/arkova/apis/arkova-verification-api.md) · [All operations](https://skmtc.dev/arkova/apis/arkova-verification-api/llms.txt) · [OpenAPI document](https://skmtc.dev/arkova/apis/arkova-verification-api/revisions/a14858d1efd4?raw)
