---
title: "POST /mr-api/person"
method: POST
path: "/mr-api/person"
tags: ["PersonService"]
---

# POST /mr-api/person

`POST /mr-api/person`

Create a new person

## Request body

- CreatePersonDetails
  - `email` string, email
  - `personType` 'person' | 'serviceAccount' | 'sdkServiceAccount'
  - `name` string
  - `groupIds` string[]

## Response `200`

Registration url

- RegistrationUrl
  - `registrationUrl` string
  - `personId` string, uuid, required
  - `token` string, required

## Other responses

- `400` — Bad Request
- `401` — no permission
- `403` — forbidden to only admins
- `409` — person already exists

## Changes

> 2 revisions in range; 1 could not be searched.

- **2023-09-24** `b06e5f293bda` — 3 breaking, 1 warning, 1 info
  - the request property `email` became required
  - removed the required property `personId` from the response with the `200` status
  - removed the required property `token` from the response with the `200` status
  - removed the request property `personType`
  - …1 more

[Change history](https://skmtc.dev/featurehub-io/apis/managementresourceapi/changes/mr-api/person/post.md)

---

[API](https://skmtc.dev/featurehub-io/apis/managementresourceapi.md) · [All operations](https://skmtc.dev/featurehub-io/apis/managementresourceapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/featurehub-io/managementresourceapi/revisions/faed5fd616c3/schema)
