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

# Update group domain

`PATCH /groups/{groupId}/domain`

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

## Request body

- GroupDomainUpdate
  - `domain` string, hostname, required

## Response `200`

Group domain updated successfully.

- Group
  - `id` string, ulid, required
  - `owner` string, ulid, required
  - `name` string, required
  - `description` string, nullable
  - `type` 'domain' | 'list', required

## Other responses

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

## Changes

- **2025-07-13** `02015e1343c5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/osdg-iiith/apis/forms-portal-api/changes/groups/:groupId/domain/patch.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/799e5a4fd31a/schema)
