---
title: "POST /auth/users"
method: POST
path: "/auth/users"
---

# POST /auth/users

`POST /auth/users`

## Request

- Base URL: `https://docs.socotra.com`
- URL: `https://docs.socotra.com/auth/users`
- Auth: none declared
- TypeScript: <https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/docs/auth/users/post.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `enableUser` boolean

## Request body

- UserCreateRequest
  - `userName` string, required: A user name in email format
  - `firstName` string, required
  - `lastName` string, required
  - `password` string
  - `temporaryPassword` boolean
  - `serviceAccount` boolean
  - `email` string
  - `tenants` string[]
  - `roles` string[]

## Response `200`

OK

- UserResponse
  - `locator` string, uuid, required
  - `userName` string, required
  - `firstName` string, required
  - `lastName` string, required
  - `email` string
  - `serviceAccount` boolean, required
  - `roles` string[]
  - `tenants` string[], required
  - `permissions` string[]

---

[API](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi.md) - [All operations](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/revisions/77ee7d8172b9?raw)
