---
title: "Update group domain"
method: PUT
path: "/groups/{groupId}/domain"
tags: ["Groups"]
---

# Update group domain

`PUT /groups/{groupId}/domain`

Updates the domain for a group of 'DOMAIN' type. Requires ownership.

## Request body

- GroupDomainUpdate
  - `domain` string, fqdn, required

## Response `204`

Group domain updated successfully.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity

## Changes

- **2025-07-15** `2c261ade9d44` — 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `204`
- **2025-07-14** `9aec27988ad3` — 1 info
  - endpoint added
- **2025-07-13** `02015e1343c5` — 1 breaking
  - api removed without deprecation
- **2025-07-13** `0d7f3c750979` — 2 breaking, 1 info
  - the `domain` request property type/format changed from `string`/`fqdn` to `string`/`hostname`
  - removed the success response with the status `204`
  - added the success response with the status `200`

[Change history](https://skmtc.dev/osdg-iiith/apis/forms-portal-api/changes/groups/:groupId/domain/put.md)

---

[API](https://skmtc.dev/osdg-iiith/apis/forms-portal-api.md) · [All operations](https://skmtc.dev/osdg-iiith/apis/forms-portal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/osdg-iiith/forms-portal-api/revisions/85c657c8ce11/schema)
