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

# Update folder.

`PUT /folders/{folder_uid}`

If nested folders are enabled then it optionally expects a new parent folder UID that moves the folder and
includes it into the response.

## 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
  - `uid` string — NewUID it's an optional parameter used for overriding the existing folder UID
  - `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
  - `parentUid` string — only used if nested folders are enabled
  - `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.net/nforgeio/apis/grafana-http-api.md) · [All operations](https://skmtc.net/nforgeio/apis/grafana-http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nforgeio/grafana-http-api/revisions/3cb6c3f42dc7/schema)
