---
updatedAt: 2026-09-09T09:33:58.000Z
agentTools:
  siteIndex: https://documentation.bloomreach.com/llms.txt
  projectIndex: https://documentation.bloomreach.com/content/llms.txt
---

# Create or update a folder

Create a new folder that doesn't yet exist. Or if the folder exists, update its information.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Folder Management API",
    "description": "The Folder Management API enables developers to manage folders.",
    "version": "Beta"
  },
  "externalDocs": {
    "description": "See official Bloomreach documentation",
    "url": "https://documentation.bloomreach.com/content/reference/folder-management-api"
  },
  "servers": [
    {
      "url": "https://developers.bloomreach.io/management/folder/v1"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Folder Operations",
      "externalDocs": {
        "description": "See",
        "url": "https://documentation.bloomreach.com/content/reference/folder-management-api"
      }
    }
  ],
  "paths": {
    "/{folder_path}": {
      "put": {
        "tags": [
          "Folder Operations"
        ],
        "summary": "Create or update a folder",
        "description": "Create a new folder that doesn't yet exist. Or if the folder exists, update its information.",
        "operationId": "putFolder",
        "parameters": [
          {
            "name": "X-Resource-Version",
            "in": "header",
            "description": "Resource's version, as obtained when GETting the resource. The first time a resource is created, a empty value is expected (omit the header). Must be used in any subsequent update requests of this resource",
            "required": false,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            },
            "example": "433cc90445d29c2356e385b9efe548b19ed86739f27eb7958a81847b9d8517c2"
          },
          {
            "name": "folder_path",
            "in": "path",
            "description": "Path of a folder. This is the absolute path to the folder, including the folder name",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            },
            "example": "/content/some"
          }
        ],
        "requestBody": {
          "description": "Request examples",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Folder"
              },
              "examples": {
                "Simple Folder": {
                  "$ref": "#/components/examples/SimpleFolderForPut"
                },
                "Page Folder": {
                  "$ref": "#/components/examples/PageFolderForPut"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Resource-Version": {
                "description": "Resource's version. Must be used in any subsequent update requests of this resource",
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Folder"
                },
                "examples": {
                  "Simple Folder": {
                    "$ref": "#/components/examples/SimpleFolder"
                  },
                  "Page Folder": {
                    "$ref": "#/components/examples/PageFolder"
                  }
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "headers": {
              "X-Resource-Version": {
                "description": "Resource's version. Must be used in any subsequent update requests of this resource",
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Folder"
                },
                "example": {
                  "$ref": "#/components/examples/SimpleFolder"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden"
          }
        }
      }
    }
  },
  "components": {
    "examples": {
      "SimpleFolder": {
        "value": {
          "type": "folder",
          "path": "/content/documents/common",
          "displayName": "Common Folder",
          "locale": "en",
          "restricted": false,
          "allowedDocumentTypes": [
            "banner",
            "ALL_DOCUMENTS",
            "resourcebundle"
          ],
          "allowedFolderTypes": [
            "banner",
            "FOLDER",
            "UNSCOPED_FOLDER",
            "resourcebundle"
          ]
        }
      },
      "PageFolder": {
        "value": {
          "type": "pageFolder",
          "path": "/content/documents/brxsaas/pages/blogs",
          "displayName": "Blogs",
          "locale": "en",
          "restricted": false,
          "allowedDocumentTypes": [
            "banner"
          ],
          "allowedFolderTypes": [
            "banner"
          ],
          "channel": "brxsaas"
        }
      },
      "SimpleFolderForPut": {
        "value": {
          "type": "folder",
          "path": "/content/documents/common",
          "displayName": "Common Folder",
          "locale": "en",
          "allowedDocumentTypes": [
            "banner",
            "ALL_DOCUMENTS",
            "resourcebundle"
          ],
          "allowedFolderTypes": [
            "banner",
            "FOLDER",
            "UNSCOPED_FOLDER",
            "resourcebundle"
          ]
        }
      },
      "PageFolderForPut": {
        "value": {
          "type": "pageFolder",
          "path": "/content/documents/brxsaas/pages/blogs",
          "displayName": "Blogs",
          "locale": "en",
          "allowedDocumentTypes": [
            "banner"
          ],
          "allowedFolderTypes": [
            "banner"
          ],
          "channel": "brxsaas"
        }
      }
    },
    "schemas": {
      "DocumentSummary": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Identifying name of this resource. This value appears in URLs."
          },
          "displayName": {
            "type": "string",
            "description": "name of this resource. Used in labels in the CMS UI and in Delivery API."
          },
          "contentType": {
            "type": "string",
            "description": "the content type of the resource (eg banner, newsArticle). The value for the contentType may optionally include the namespace prefix; this is only required in case the type is in a namespace other than 'brxsaas', eg mynamespace:content"
          },
          "path": {
            "type": "string",
            "description": "Absolute path of this resource in the content repository"
          },
          "branches": {
            "uniqueItems": true,
            "type": "array",
            "description": "The list of branches where this resource exists.",
            "items": {
              "type": "string",
              "description": "The list of branches where this resource exists."
            }
          }
        },
        "description": "A representation of a document used from within a folder object that exposes its most relevant metadata",
        "readOnly": true
      },
      "Folder": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SimpleFolder"
          },
          {
            "$ref": "#/components/schemas/PageFolder"
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "folder": "#/components/schemas/SimpleFolder",
            "pageFolder": "#/components/schemas/PageFolder"
          }
        }
      },
      "SimpleFolder": {
        "required": [
          "path",
          "type"
        ],
        "type": "object",
        "description": "A Folder is a container item that can contain other folders or items",
        "properties": {
          "type": {
            "type": "string",
            "description": "identifies the kind of folder: valid values are \"folder\" for SimpleFolder and \"pageFolder\" for Pagefolder"
          },
          "path": {
            "type": "string",
            "description": "Folder path. An absolute path of this document in the content repository"
          },
          "displayName": {
            "type": "string",
            "description": "Display name of the of the folder. Used in labels in the CMS UI."
          },
          "locale": {
            "type": "string",
            "description": "Folder locale."
          },
          "restricted": {
            "type": "boolean",
            "description": "Indicates whether this folder is restricted. Setting this to false clears any readUsers and writeUsers entries automatically"
          },
          "allowedDocumentTypes": {
            "type": "array",
            "description": "List of allowed document types. Authors using the CMS UI will only be allowed to create documents in this folder of the types provided in this list. The value ALL_DOCUMENTS will offer them the possibility of creating any type of document. If this property is empty, they won't be able to create any document at all. Any types that do not belong to the default group ('brxsaas'), must be prefixed with the group name and the colon character, e.g. 'mygroup:mytype'.",
            "items": {
              "type": "string",
              "description": "Document types"
            }
          },
          "allowedFolderTypes": {
            "type": "array",
            "description": "List of allowed folder types. Authors using the CMS UI will only be allowed to create folders of the types provided in this list. If a value matches a content type, authors will be able to create a folder that only allows them to create that kind of document. The value FOLDER allows them to create an unrestricted folder where they can create any kind of document. The value UNSCOPED_FOLDER also allows them to create unrestricted folders, but in these case non translated ones, which are usualy created out of the channel folders (e.g /content/documents/administration) if the content inside them is going to be used in multiple channels with different locales.",
            "items": {
              "type": "string",
              "description": "List of allowed folder types"
            }
          },
          "readUsers": {
            "type": "array",
            "description": "List of users with read access in this restricted folder",
            "items": {
              "type": "string",
              "description": "A username of a CMS user"
            }
          },
          "writeUsers": {
            "type": "array",
            "description": "List of users with write access in this restricted folder",
            "items": {
              "type": "string",
              "description": "A username of a CMS user"
            }
          },
          "documents": {
            "type": "array",
            "description": "List of documents stored within this folder",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/DocumentSummary"
            }
          },
          "resourceBundles": {
            "type": "array",
            "description": "List of resource bundles stored within this folder",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/DocumentSummary"
            }
          },
          "folders": {
            "type": "array",
            "description": "List of nested folders within this folder",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/Folder"
            }
          }
        }
      },
      "PageFolder": {
        "required": [
          "channel",
          "path",
          "type"
        ],
        "type": "object",
        "description": "A special type of folder that can hold Experience pages",
        "properties": {
          "type": {
            "type": "string",
            "description": "identifies the kind of folder: valid values are \"folder\" for SimpleFolder and \"pageFolder\" for Pagefolder"
          },
          "path": {
            "type": "string",
            "description": "Folder path. An absolute path of this document in the content repository"
          },
          "displayName": {
            "type": "string",
            "description": "Display name of the of the folder. Used in labels in the CMS UI."
          },
          "locale": {
            "type": "string",
            "description": "Folder locale."
          },
          "restricted": {
            "type": "boolean",
            "description": "Indicates whether this folder is restricted. Setting this to false clears any readUsers and writeUsers entries automatically"
          },
          "allowedDocumentTypes": {
            "type": "array",
            "description": "List of allowed document types. Authors using the CMS UI will only be allowed to create documents in this folder of the types provided in this list. The value ALL_DOCUMENTS will offer them the possibility of creating any type of document. If this property is empty, they won't be able to create any document at all. Any types that do not belong to the default group ('brxsaas'), must be prefixed with the group name and the colon character, e.g. 'mygroup:mytype'.",
            "items": {
              "type": "string",
              "description": "Document types"
            }
          },
          "allowedFolderTypes": {
            "type": "array",
            "description": "List of allowed folder types. Authors using the CMS UI will only be allowed to create folders of the types provided in this list. If a value matches a content type, authors will be able to create a folder that only allows them to create that kind of document. The value FOLDER allows them to create an unrestricted folder where they can create any kind of document. The value UNSCOPED_FOLDER also allows them to create unrestricted folders, but in these case non translated ones, which are usualy created out of the channel folders (e.g /content/documents/administration) if the content inside them is going to be used in multiple channels with different locales.",
            "items": {
              "type": "string",
              "description": "Folder types"
            }
          },
          "readUsers": {
            "type": "array",
            "description": "List of users with read access in this restricted folder",
            "items": {
              "type": "string",
              "description": "A username of a CMS user"
            }
          },
          "writeUsers": {
            "type": "array",
            "description": "List of users with write access in this restricted folder",
            "items": {
              "type": "string",
              "description": "A username of a CMS user"
            }
          },
          "documents": {
            "type": "array",
            "description": "List of documents stored within this folder",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/DocumentSummary"
            }
          },
          "resourceBundles": {
            "type": "array",
            "description": "List of resource bundles stored within this folder",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/DocumentSummary"
            }
          },
          "folders": {
            "type": "array",
            "description": "List of nested folders within this folder",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/Folder"
            }
          },
          "channel": {
            "type": "string",
            "description": "identifying name of the channel this experience folder is connected to."
          },
          "pages": {
            "type": "array",
            "description": "List of pages stored within this folder",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/PageSummary"
            }
          }
        }
      },
      "PageSummary": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Identifying name of this resource. This value appears in URLs."
          },
          "displayName": {
            "type": "string",
            "description": "name of this resource. Used in labels in the CMS UI and in Delivery API."
          },
          "contentType": {
            "type": "string",
            "description": "the content type of the resource (eg banner, newsArticle). The value for the contentType may optionally include the namespace prefix; this is only required in case the type is in a namespace other than 'brxsaas', eg mynamespace:content"
          },
          "path": {
            "type": "string",
            "description": "Absolute path of this resource in the content repository"
          },
          "branches": {
            "uniqueItems": true,
            "type": "array",
            "description": "The list of branches where this resource exists.",
            "items": {
              "type": "string",
              "description": "The list of branches where this resource exists."
            }
          },
          "channel": {
            "type": "string",
            "description": "Identifying name of the channel this page belongs to."
          },
          "relativePagePath": {
            "type": "string",
            "description": "the relative path of this experience page with respect to the root content path of the channel"
          }
        },
        "description": "A representation of an experience page used from within a folder object that exposes its most relevant metadata",
        "readOnly": true
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "name": "x-auth-token",
        "in": "header"
      }
    }
  }
}
```