---
title: "Changes to Create or update Shared Policy Group from SharedPolicyGroupSpec"
method: PUT
path: "/organizations/{orgId}/environments/{envId}/shared-policy-groups"
---

# Changes to Create or update Shared Policy Group from SharedPolicyGroupSpec

`PUT /organizations/{orgId}/environments/{envId}/shared-policy-groups`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 14 revisions.

- **2026-11-03** `460368511dae`: 2 breaking, 1 warning, 1 info
- **2026-10-07** `ecefec7d65f9`: 1 warning, 1 info
- **2026-10-07** `eb875d036ac9`: 1 warning, 1 info
- **2026-06-08** `e0b1ecfd50ed`: 6 breaking, 6 info
- **2026-06-08** `b84c3b93a5e1`: 1 breaking, 1 info

## Changes

- **2026-11-03** `460368511dae`: 2 breaking, 1 warning, 1 info
  - the `allOf[#/components/schemas/SharedPolicyGroupSpec]/steps/items/allOf[#/components/schemas/BaseStep]/name` response property's maxLength was unset from `64` for the response status `200`
  - the `allOf[#/components/schemas/SharedPolicyGroupSpec]/steps/items/allOf[#/components/schemas/BaseStep]/policy` response property's maxLength was unset from `64` for the response status `200`
  - changed the pattern of the request property `hrid` from `^[a-zA-Z0-9][a-zA-Z0-9_-]+[a-zA-Z0-9]$` to `^[a-zA-Z0-9][a-zA-Z0-9_.-]+[a-zA-Z0-9]$`
  - the `allOf[#/components/schemas/SharedPolicyGroupSpec]/hrid` response's property pattern was changed from `^[a-zA-Z0-9][a-zA-Z0-9_-]+[a-zA-Z0-9]$` to `^[a-zA-Z0-9][a-zA-Z0-9_.-]+[a-zA-Z0-9]$` for the status `200`
- **2026-10-07** `ecefec7d65f9`: 1 warning, 1 info
  - changed the pattern of the request property `hrid` from `^[a-zA-Z0-9][a-zA-Z0-9_.-]+[a-zA-Z0-9]$` to `^[a-zA-Z0-9][a-zA-Z0-9_-]+[a-zA-Z0-9]$`
  - the `allOf[#/components/schemas/SharedPolicyGroupSpec]/hrid` response's property pattern was changed from `^[a-zA-Z0-9][a-zA-Z0-9_.-]+[a-zA-Z0-9]$` to `^[a-zA-Z0-9][a-zA-Z0-9_-]+[a-zA-Z0-9]$` for the status `200`
- **2026-10-07** `eb875d036ac9`: 1 warning, 1 info
  - changed the pattern of the request property `hrid` from `^[a-zA-Z0-9][a-zA-Z0-9_-]+[a-zA-Z0-9]$` to `^[a-zA-Z0-9][a-zA-Z0-9_.-]+[a-zA-Z0-9]$`
  - the `allOf[#/components/schemas/SharedPolicyGroupSpec]/hrid` response's property pattern was changed from `^[a-zA-Z0-9][a-zA-Z0-9_-]+[a-zA-Z0-9]$` to `^[a-zA-Z0-9][a-zA-Z0-9_.-]+[a-zA-Z0-9]$` for the status `200`
- **2026-06-08** `e0b1ecfd50ed`: 6 breaking, 6 info
  - removed the enum value `A2A_PROXY` of the request property `apiType`
  - removed the enum value `ENTRYPOINT_CONNECT` of the request property `phase`
  - removed the enum value `INTERACT` of the request property `phase`
  - removed the enum value `LLM_PROXY` of the request property `apiType`
  - removed the enum value `MCP_PROXY` of the request property `apiType`
  - removed the enum value `NATIVE` of the request property `apiType`
  - removed the `A2A_PROXY` enum value from the `allOf[#/components/schemas/SharedPolicyGroupSpec]/apiType` response property for the response status `200`
  - removed the `ENTRYPOINT_CONNECT` enum value from the `allOf[#/components/schemas/SharedPolicyGroupSpec]/phase` response property for the response status `200`
  - removed the `INTERACT` enum value from the `allOf[#/components/schemas/SharedPolicyGroupSpec]/phase` response property for the response status `200`
  - removed the `LLM_PROXY` enum value from the `allOf[#/components/schemas/SharedPolicyGroupSpec]/apiType` response property for the response status `200`
  - removed the `MCP_PROXY` enum value from the `allOf[#/components/schemas/SharedPolicyGroupSpec]/apiType` response property for the response status `200`
  - removed the `NATIVE` enum value from the `allOf[#/components/schemas/SharedPolicyGroupSpec]/apiType` response property for the response status `200`
- **2026-06-08** `b84c3b93a5e1`: 1 breaking, 1 info
  - removed the enum value `EDGE` of the request property `apiType`
  - removed the `EDGE` enum value from the `allOf[#/components/schemas/SharedPolicyGroupSpec]/apiType` response property for the response status `200`

---

[Operation](https://skmtc.dev/gravitee-io/apis/gravitee-io-automation-api/docs/organizations/:orgId/environments/:envId/shared-policy-groups/put.md) - [API](https://skmtc.dev/gravitee-io/apis/gravitee-io-automation-api.md) - [Page](https://skmtc.dev/gravitee-io/apis/gravitee-io-automation-api/changes/organizations/:orgId/environments/:envId/shared-policy-groups/put)
