---
title: "Changes to Create a policy"
method: POST
path: "/v1/workspaces/{workspaceId}/policies"
---

# Changes to Create a policy

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

> Every recorded change to this operation, newest first.

## Timeline

Changed in 11 of 70 revisions.

- **2026-06-03** `09db0ebcbbd5`: 2 warning, 2 info
- **2026-05-07** `88659c8f25b8`: 2 info
- **2026-05-01** `ad4e8a42ca42`: 2 info
- **2026-04-15** `d2f9453830b8`: 2 info
- **2026-04-10** `e3b9d914ab3f`: 2 warning
- **2026-04-10** `345e107bc7fc`: 6 info
- **2026-03-12** `95ad4756775e`: 6 breaking, 2 info
- **2026-02-20** `39388a4a4db2`: 3 warning
- **2026-02-20** `b9cba5428947`: 2 info
- **2026-02-18** `d9e7c841b943`: 1 breaking, 9 info
- **2026-02-13** `4344f0e0fc73`: 1 breaking, 1 warning

## Changes

- **2026-06-03** `09db0ebcbbd5`: 2 warning, 2 info
  - added the new `queued` enum value to the `rules/items/environmentProgression/successStatuses/items/` response property for the response status `202`
  - added the new `queued` enum value to the `rules/items/retry/retryOnStatuses/items/` response property for the response status `202`
  - added the new `queued` enum value to the request property `rules/items/environmentProgression/successStatuses/items/`
  - added the new `queued` enum value to the request property `rules/items/retry/retryOnStatuses/items/`
- **2026-05-07** `88659c8f25b8`: 2 info
  - the `minimumSuccessPercentage` request property default value `100` was removed
  - the `minimumSuccessPercentage` response's property default value `100` was removed for the status `202`
- **2026-05-01** `ad4e8a42ca42`: 2 info
  - added the new optional request property `rules/items/planValidationOpa`
  - added the optional property `rules/items/planValidationOpa` to the response with the `202` status
- **2026-04-15** `d2f9453830b8`: 2 info
  - added the new optional request property `rules/items/environmentProgression/requireVerificationPassed`
  - added the optional property `rules/items/environmentProgression/requireVerificationPassed` to the response with the `202` status
- **2026-04-10** `e3b9d914ab3f`: 2 warning
  - removed the request property `rules/items/environmentProgression/minimumSockTimeMinutes`
  - removed the optional property `rules/items/environmentProgression/minimumSockTimeMinutes` from the response with the `202` status
- **2026-04-10** `345e107bc7fc`: 6 info
  - added the new optional request property `rules/items/environmentProgression/minimumSoakTimeMinutes`
  - the `minimumSockTimeMinutes` request property default value `0` was removed
  - request property `rules/items/environmentProgression/minimumSockTimeMinutes` deprecated
  - added the optional property `rules/items/environmentProgression/minimumSoakTimeMinutes` to the response with the `202` status
  - the `minimumSockTimeMinutes` response's property default value `0` was removed for the status `202`
  - response property `rules/items/environmentProgression/minimumSockTimeMinutes` deprecated
- **2026-03-12** `95ad4756775e`: 6 breaking, 2 info
  - removed `#/components/schemas/JsonSelector, #/components/schemas/CelSelector` from the `rules/items/environmentProgression/dependsOnEnvironmentSelector` request property `oneOf` list
  - removed `#/components/schemas/JsonSelector, #/components/schemas/CelSelector` from the `rules/items/versionSelector/selector` request property `oneOf` list
  - the `rules/items/environmentProgression/dependsOnEnvironmentSelector` request property type changed from no type to `string`
  - the `rules/items/versionSelector/selector` request property type changed from no type to `string`
  - the `rules/items/environmentProgression/dependsOnEnvironmentSelector` response's property type changed from no type to `string` for status `202`
  - the `rules/items/versionSelector/selector` response's property type changed from no type to `string` for status `202`
  - removed `#/components/schemas/JsonSelector, #/components/schemas/CelSelector` from the `rules/items/environmentProgression/dependsOnEnvironmentSelector` response property `oneOf` list for the response status `202`
  - removed `#/components/schemas/JsonSelector, #/components/schemas/CelSelector` from the `rules/items/versionSelector/selector` response property `oneOf` list for the response status `202`
- **2026-02-20** `39388a4a4db2`: 3 warning
  - removed the request property `rules/items/createdAt`
  - removed the request property `rules/items/id`
  - removed the request property `rules/items/policyId`
- **2026-02-20** `b9cba5428947`: 2 info
  - added the new optional request property `rules/items/versionSelector`
  - added the optional property `rules/items/versionSelector` to the response with the `202` status
- **2026-02-18** `d9e7c841b943`: 1 breaking, 9 info
  - removed the required property `message` from the response with the `202` status
  - added the optional property `description` to the response with the `202` status
  - added the required property `createdAt` to the response with the `202` status
  - added the required property `enabled` to the response with the `202` status
  - added the required property `metadata` to the response with the `202` status
  - added the required property `name` to the response with the `202` status
  - added the required property `priority` to the response with the `202` status
  - added the required property `rules` to the response with the `202` status
  - added the required property `selector` to the response with the `202` status
  - added the required property `workspaceId` to the response with the `202` status
- **2026-02-13** `4344f0e0fc73`: 1 breaking, 1 warning
  - added the new required request property `rules/items/deploymentDependency/dependsOn`
  - removed the request property `rules/items/deploymentDependency/dependsOnDeploymentSelector`

---

[Operation](https://skmtc.dev/ctrlplanedev/apis/ctrlplane-api/docs/v1/workspaces/:workspaceId/policies/post.md) - [API](https://skmtc.dev/ctrlplanedev/apis/ctrlplane-api.md) - [Page](https://skmtc.dev/ctrlplanedev/apis/ctrlplane-api/changes/v1/workspaces/:workspaceId/policies/post)
