---
title: "registerAccount"
method: POST
path: "/api/register"
tags: ["account-resource"]
---

# registerAccount

`POST /api/register`

## Request body

- ManagedUserVM
  - `acceptor` boolean
  - `activated` boolean
  - `authorities` string[]
  - `captchaToken` string
  - `clubCode` integer
  - `clubType` 'AYRIA' | 'PERSEPOLIS' | 'KARAFARIN' | 'BIMEHKHAVARMIYANE'
  - `createdBy` string
  - `createdDate` string, date-time
  - `email` string
  - `firstName` string
  - `gender` 'MALE' | 'FEMALE'
  - `id` integer
  - `imageUrl` string
  - `langKey` string
  - `lastModifiedBy` string
  - `lastModifiedDate` string, date-time
  - `lastName` string
  - `locked` boolean
  - `login` string
  - `mobile` string
  - `nickname` string
  - `password` string, required
  - `plan` 'BASIC' | 'GOLD' | 'STAR' | 'GALAXY'

## Response `200`

OK

## 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-service-production.skmtc.workers.dev/v1/apis/ayriaclub/ayria-api/revisions/e53c83aeee1d/schema)
