---
title: "PATCH /b/{bucket}/managedFolders/{managedFolder}"
method: PATCH
path: "/b/{bucket}/managedFolders/{managedFolder}"
tags: ["managedFolders"]
---

# PATCH /b/{bucket}/managedFolders/{managedFolder}

`PATCH /b/{bucket}/managedFolders/{managedFolder}`

## Request

- Base URL: `https://storage.googleapis.com/storage/v1`
- URL: `https://storage.googleapis.com/storage/v1/b/{bucket}/managedFolders/{managedFolder}`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/devstorage.full_control`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/devstorage.full_control`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/devstorage.read_write`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/devstorage.read_write`

Updates a managed folder using patch semantics.

## Path parameters

- `bucket` string, required
- `managedFolder` string, required

## Query parameters

- `alt` 'json' | 'media'
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `userIp` string
- `ifMetagenerationMatch` string, int64
- `ifMetagenerationNotMatch` string, int64

## Request body

- ManagedFolder: A managed folder.
  - `bucket` string: The name of the bucket containing this managed folder.
  - `createTime` string, date-time: The creation time of the managed folder in RFC 3339 format.
  - `id` string: The ID of the managed folder, including the bucket name and managed folder name.
  - `kind` string: The kind of item this is. For managed folders, this is always storage#managedFolder.
  - `metageneration` string, int64: The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
  - `name` string: The name of the managed folder. Required if not specified by URL parameter.
  - `rapidCacheConfig` RapidCacheConfig: Configuration options for the rapid cache of a managed folder.
    - `policies` object: A map of rapid cache IDs to the corresponding `RapidCachePolicy` configurations for a managed folder.
  - `selfLink` string: The link to this managed folder.
  - `updateTime` string, date-time: The last update time of the managed folder metadata in RFC 3339 format.

## Response `200`

Successful response

- ManagedFolder: A managed folder.
  - `bucket` string: The name of the bucket containing this managed folder.
  - `createTime` string, date-time: The creation time of the managed folder in RFC 3339 format.
  - `id` string: The ID of the managed folder, including the bucket name and managed folder name.
  - `kind` string: The kind of item this is. For managed folders, this is always storage#managedFolder.
  - `metageneration` string, int64: The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.
  - `name` string: The name of the managed folder. Required if not specified by URL parameter.
  - `rapidCacheConfig` RapidCacheConfig: Configuration options for the rapid cache of a managed folder.
    - `policies` object: A map of rapid cache IDs to the corresponding `RapidCachePolicy` configurations for a managed folder.
  - `selfLink` string: The link to this managed folder.
  - `updateTime` string, date-time: The last update time of the managed folder metadata in RFC 3339 format.

## Changes

- **2026-12-05** `c5c888124e9d`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/devstorage.read_write` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/devstorage.read_write` was removed from the endpoint's security scheme `Oauth2c`
- **2026-11-12** `72f1f465433c`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/devstorage.read_write` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/devstorage.read_write` was removed from the endpoint's security scheme `Oauth2c`
- …earlier changes not shown

[Operation history](https://skmtc.dev/google/apis/storage/changes/b/:bucket/managedFolders/:managedFolder/patch.md)

---

[API](https://skmtc.dev/google/apis/storage.md) - [All operations](https://skmtc.dev/google/apis/storage/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/storage/revisions/c5c888124e9d?raw)
