---
title: "Update folder."
method: PUT
path: "/folders/{folder_uid}"
tags: ["folders"]
deprecated: true
---

# Update folder.

`PUT /folders/{folder_uid}`

## Request

- Base URL: `/api` (relative, and the document’s source URL is not known)
- URL: `/api/folders/{folder_uid}`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

> **Deprecated.**

Use: /apis/folder.grafana.app/v1/namespaces/{ns}/folders/{folder_uid}

## Path parameters

- `folder_uid` string, required

## Request body

- UpdateFolderCommand: UpdateFolderCommand captures the information required by the folder service to update a folder. Use Move to update a folder's parent folder.
  - `description` string: NewDescription it's an optional parameter used for overriding the existing folder description
  - `overwrite` boolean: Overwrite only used by the legacy folder implementation
  - `title` string: NewTitle it's an optional parameter used for overriding the existing folder title
  - `version` integer: Version only used by the legacy folder implementation

## Response `200`

(empty)

- Folder
  - `accessControl` Metadata: Metadata contains user accesses for a given resource Ex: map[string]bool{"create":true, "delete": true}
  - `canAdmin` boolean
  - `canDelete` boolean
  - `canEdit` boolean
  - `canSave` boolean
  - `created` string, date-time
  - `createdBy` string
  - `hasAcl` boolean
  - `id` integer: Deprecated: use UID instead
  - `managedBy` string: It can be a user or a tool or a generic API client. +enum
  - `orgId` integer
  - `parentUid` string: only used if nested folders are enabled
  - `parents` Folder[]: the parent folders starting from the root going down
  - `title` string
  - `uid` string
  - `updated` string, date-time
  - `updatedBy` string
  - `url` string
  - `version` integer

## Other responses

- `400`: BadRequestError is returned when the request is invalid and it cannot be processed.
- `401`: UnauthorizedError is returned when the request is not authenticated.
- `403`: ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
- `404`: NotFoundError is returned when the requested resource was not found.
- `409`: ConflictError
- `500`: InternalServerError is a general error indicating something went wrong internally.

---

[API](https://skmtc.dev/grafana/apis/grafana-http-api.md) - [All operations](https://skmtc.dev/grafana/apis/grafana-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grafana/apis/grafana-http-api/revisions/df55ba1718ba?raw)
