---
title: "Changes to Create or update a Group from an automation GroupSpec"
method: PUT
path: "/organizations/{orgId}/environments/{envId}/groups"
---

# Changes to Create or update a Group from an automation GroupSpec

`PUT /organizations/{orgId}/environments/{envId}/groups`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 14 revisions.

- **2026-11-03** `460368511dae`: 1 warning, 1 info
- **2026-10-12** `2ec1da1d109f`: 6 info
- **2026-10-12** `75fdacf207c0`: 3 info
- **2026-10-07** `ecefec7d65f9`: 1 warning, 1 info
- **2026-10-07** `eb875d036ac9`: 1 warning, 1 info

## Changes

- **2026-11-03** `460368511dae`: 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/GroupSpec]/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-12** `2ec1da1d109f`: 6 info
  - added the new optional request property `defaultMemberRoles/api`
  - added the new optional request property `defaultMemberRoles/apiProduct`
  - added the new optional request property `defaultMemberRoles/application`
  - added the optional property `allOf[#/components/schemas/GroupSpec]/defaultMemberRoles/api` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/GroupSpec]/defaultMemberRoles/apiProduct` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/GroupSpec]/defaultMemberRoles/application` to the response with the `200` status
- **2026-10-12** `75fdacf207c0`: 3 info
  - added the new optional `query` request parameter `ignoreMembers`
  - added the new optional request property `defaultMemberRoles`
  - added the optional property `allOf[#/components/schemas/GroupSpec]/defaultMemberRoles` to the response with the `200` status
- **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/GroupSpec]/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/GroupSpec]/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`

---

[Operation](https://skmtc.dev/gravitee-io/apis/gravitee-io-automation-api/docs/organizations/:orgId/environments/:envId/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/groups/put)
