---
title: "Changes to Create a resource."
method: POST
path: "/resources.json"
---

# Changes to Create a resource.

`POST /resources.json`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 6 revisions.

- **2026-11-06** `8d72215e2274`: 3 breaking, 9 info
- **2025-06-25** `829cf48ab700`: 16 breaking, 15 warning, 1 info

## Changes

- **2026-11-06** `8d72215e2274`: 3 breaking, 9 info
  - added the new required request property `allOf[subschema #2]/secrets/items/data`
  - the `allOf[subschema #2]/secrets/items/` request property type changed from `string` to `object`
  - the `body/anyOf[#/components/schemas/resourceV5IndexAndView]/allOf[subschema #2]/secrets/items/` response's property type changed from `string` to `object` for status `200`
  - added the new optional request property `allOf[subschema #2]/secrets/items/resource_id`
  - added the new optional request property `allOf[subschema #2]/secrets/items/user_id`
  - added the optional property `body/anyOf[#/components/schemas/resourceV5IndexAndView]/allOf[subschema #2]/offline` to the response with the `200` status
  - added the required property `body/anyOf[#/components/schemas/resourceV5IndexAndView]/allOf[subschema #2]/secrets/items/created` to the response with the `200` status
  - added the required property `body/anyOf[#/components/schemas/resourceV5IndexAndView]/allOf[subschema #2]/secrets/items/data` to the response with the `200` status
  - added the required property `body/anyOf[#/components/schemas/resourceV5IndexAndView]/allOf[subschema #2]/secrets/items/id` to the response with the `200` status
  - added the required property `body/anyOf[#/components/schemas/resourceV5IndexAndView]/allOf[subschema #2]/secrets/items/modified` to the response with the `200` status
  - added the required property `body/anyOf[#/components/schemas/resourceV5IndexAndView]/allOf[subschema #2]/secrets/items/resource_id` to the response with the `200` status
  - added the required property `body/anyOf[#/components/schemas/resourceV5IndexAndView]/allOf[subschema #2]/secrets/items/user_id` to the response with the `200` status
- **2025-06-25** `829cf48ab700`: 16 breaking, 15 warning, 1 info
  - added `#/components/schemas/e2eeMetadataBased, subschema #2` to the request body `allOf` list
  - the request's body type changed from `object` to no type
  - the `body` response's property type changed from `object` to no type for status `200`
  - removed the required property `body/created` from the response with the `200` status
  - removed the required property `body/created_by` from the response with the `200` status
  - removed the required property `body/deleted` from the response with the `200` status
  - removed the required property `body/description` from the response with the `200` status
  - removed the required property `body/expired` from the response with the `200` status
  - removed the required property `body/folder_parent_id` from the response with the `200` status
  - removed the required property `body/id` from the response with the `200` status
  - removed the required property `body/modified_by` from the response with the `200` status
  - removed the required property `body/name` from the response with the `200` status
  - removed the required property `body/personal` from the response with the `200` status
  - removed the required property `body/resource_type_id` from the response with the `200` status
  - removed the required property `body/uri` from the response with the `200` status
  - removed the required property `body/username` from the response with the `200` status
  - removed the request property `description`
  - removed the request property `expired`
  - removed the request property `folder_parent_id`
  - removed the request property `name`
  - removed the request property `resource_type_id`
  - removed the request property `secrets`
  - removed the request property `uri`
  - removed the request property `username`
  - removed the optional property `body/creator` from the response with the `200` status
  - removed the optional property `body/favorite` from the response with the `200` status
  - removed the optional property `body/modifier` from the response with the `200` status
  - removed the optional property `body/permission` from the response with the `200` status
  - removed the optional property `body/permissions` from the response with the `200` status
  - removed the optional property `body/resource_type` from the response with the `200` status
  - removed the optional property `body/secrets` from the response with the `200` status
  - added `#/components/schemas/resourceV4IndexAndView, #/components/schemas/resourceV5IndexAndView` to the `body` response property `anyOf` list for the response status `200`

---

[Operation](https://skmtc.dev/passbolt/apis/passbolt-api/docs/resources.json/post.md) - [API](https://skmtc.dev/passbolt/apis/passbolt-api.md) - [Page](https://skmtc.dev/passbolt/apis/passbolt-api/changes/resources.json/post)
