---
title: "create"
method: POST
path: "/api/club/club-group/create"
tags: ["club-group-club-resource"]
---

# create

`POST /api/club/club-group/create`

## Request

- Base URL: `https://api.ayriaclub.ir`
- URL: `https://api.ayriaclub.ir/api/club/club-group/create`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ayriaclub/apis/ayria-api/docs/api/club/club-group/create/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ClubGroupCreateCommand
  - `clubCode` string
  - `name` string

## Response `200`

OK

- ClubGroupDTO
  - `clubId` integer
  - `clubName` string
  - `id` integer
  - `name` string
  - `publicId` string

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/ayriaclub/apis/ayria-api.md) - [All operations](https://skmtc.dev/ayriaclub/apis/ayria-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ayriaclub/apis/ayria-api/revisions/422df181c1dd?raw)
