---
title: "Create or update a resource bundle in a specific project"
method: PUT
path: "/project/{project_id}/resourcebundles/{resource_bundle_path}"
tags: ["Content Resource Bundle Operations"]
---

# Create or update a resource bundle in a specific project

`PUT /project/{project_id}/resourcebundles/{resource_bundle_path}`

Create or update a resource bundle in a specific project

## Path parameters

- `project_id` string, required
- `resource_bundle_path` string, required

## Headers

- `X-Resource-Version` string

## Request body

- ResourceBundle — A resource bundle is a collection of key-message pairs organized by value sets which are mostly locales. It simplify the creation of internationalized applications by allowing you to conveniently store all locale-specific messages in a single place.
  - `name` string, required — identifying name of this resource bundle. Only valid characters are lowercase alphanumeric, dash, dot, and underscore. This value appears in URLs. The value must alsomatch the document name(last part of the path) in the document path.
  - `displayName` string, required — name of this resource bundle. Used in labels in the CMS UI
  - `id` string, required — id of the resource bundle which is expected to be unique in content application. The resource bundle is assigned with this unique id.
  - `path` string, required — absolute path of this resource bundle in the content repository
  - `keys` ResouceBundleKey[], required — keys of the resource bundle. The messages in a resource bundle are fetched by key values.
    - `name` string, required — identifying the key name that is used to retrieve a localized message from the resource bundle, unique within the resource bundle. Valid characters are only lower/uppercase letters, numbers, and '-' '.' '_'
    - `description` string — description of this resource bundle key
  - `valueSets` ResourceBundleValueSet[], required — value sets of the resource bundle. Typically, a value set represents all values for a specific locale inside the resource bundle.
    - `messages` ResouceBundleMessage[] — messages in the value set
      - `key` string, required — identifying key of the message. The keys that are defined as 'ResouceBundleKey' can be set here. Only valid characters are lower/uppercase letters, numbers, and '-' '.' '_'
      - `value` string — value of this resource bundle message
    - `name` string, required — name of the message value set. Expects a string value. Default messages are defined in a specific value set named 'DEFAULT'.For locale specicific messages, locale names are defined as value set name such as 'nl' (Dutch) or 'en_US' (American English
  - `system` System — System properties
    - `createdBy` string — the name of the user that created the webhook configuration
    - `createdAt` string, date-time — date of create
    - `updatedBy` string — the name of the user that updated the webhook configuration
    - `updatedAt` string, date-time — date of update

## Response `200`

OK

- ResourceBundle — A resource bundle is a collection of key-message pairs organized by value sets which are mostly locales. It simplify the creation of internationalized applications by allowing you to conveniently store all locale-specific messages in a single place.
  - `name` string, required — identifying name of this resource bundle. Only valid characters are lowercase alphanumeric, dash, dot, and underscore. This value appears in URLs. The value must alsomatch the document name(last part of the path) in the document path.
  - `displayName` string, required — name of this resource bundle. Used in labels in the CMS UI
  - `id` string, required — id of the resource bundle which is expected to be unique in content application. The resource bundle is assigned with this unique id.
  - `path` string, required — absolute path of this resource bundle in the content repository
  - `keys` ResouceBundleKey[], required — keys of the resource bundle. The messages in a resource bundle are fetched by key values.
    - `name` string, required — identifying the key name that is used to retrieve a localized message from the resource bundle, unique within the resource bundle. Valid characters are only lower/uppercase letters, numbers, and '-' '.' '_'
    - `description` string — description of this resource bundle key
  - `valueSets` ResourceBundleValueSet[], required — value sets of the resource bundle. Typically, a value set represents all values for a specific locale inside the resource bundle.
    - `messages` ResouceBundleMessage[] — messages in the value set
      - `key` string, required — identifying key of the message. The keys that are defined as 'ResouceBundleKey' can be set here. Only valid characters are lower/uppercase letters, numbers, and '-' '.' '_'
      - `value` string — value of this resource bundle message
    - `name` string, required — name of the message value set. Expects a string value. Default messages are defined in a specific value set named 'DEFAULT'.For locale specicific messages, locale names are defined as value set name such as 'nl' (Dutch) or 'en_US' (American English
  - `system` System — System properties
    - `createdBy` string — the name of the user that created the webhook configuration
    - `createdAt` string, date-time — date of create
    - `updatedBy` string — the name of the user that updated the webhook configuration
    - `updatedAt` string, date-time — date of update

## Other responses

- `201` — Created
- `403` — Forbidden

---

[API](https://skmtc.net/bloomreach/apis/documents-delivery-api-2-0.md) · [All operations](https://skmtc.net/bloomreach/apis/documents-delivery-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bloomreach/documents-delivery-api-2-0/revisions/87bfc06578c2/schema)
