---
title: "Changes to Create a new workspace secret"
method: POST
path: "/v1/workspaces/{workspaceId}/workspace_secrets"
---

# Changes to Create a new workspace secret

`POST /v1/workspaces/{workspaceId}/workspace_secrets`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 57 revisions.

- **2026-07-02** `06e0e37c1499` — 2 warning, 1 info
- **2026-06-09** `13d98d37dd96` — 1 info
- **2026-06-05** `0702cb021b66` — 1 warning

## Changes

- **2026-07-02** `06e0e37c1499` — 2 warning, 1 info
  - removed the request property `metadata/bundleKey`
  - removed the optional property `metadata/bundleKey` from the response with the `200` status
  - added the optional property `info/allOf[#/components/schemas/WorkspaceSecretInfo]/createdBy/metadata/createdAt` to the response with the `200` status
- **2026-06-09** `13d98d37dd96` — 1 info
  - added the optional property `metadata/updatedAt` to the response with the `200` status
- **2026-06-05** `0702cb021b66` — 1 warning
  - added the new `PROFILE_TYPE_UNSPECIFIED` enum value to the `info/allOf[#/components/schemas/WorkspaceSecretInfo]/createdBy/spec/type` response property for the response status `200`

---

[Operation](https://skmtc.dev/cadenya/apis/cadenya-api/docs/v1/workspaces/:workspaceId/workspace_secrets/post.md) · [API](https://skmtc.dev/cadenya/apis/cadenya-api.md) · [Page](https://skmtc.dev/cadenya/apis/cadenya-api/changes/v1/workspaces/:workspaceId/workspace_secrets/post)
