---
title: "Creates a user"
method: POST
path: "/api/grit/core/users"
tags: ["Core - Users"]
---

# Creates a user

`POST /api/grit/core/users`

## Request body

- object
  - `login` string
  - `name` string
  - `email` string
  - `origin_id` integer
  - `active` boolean
  - `two_factor` boolean
  - `role_ids` integer[]

## Response `201`

user created

---

[API](https://skmtc.dev/grit42/apis/grit-core-api.md) · [All operations](https://skmtc.dev/grit42/apis/grit-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/grit42/grit-core-api/revisions/3886592effdb/schema)
