---
title: "Create a tenant"
method: POST
path: "/accounts/tenant"
tags: ["Accounts"]
---

# Create a tenant

`POST /accounts/tenant`

## Request

- Base URL: `https://api-staging.fanheroapi.com`
- URL: `https://api-staging.fanheroapi.com/accounts/tenant`
- Auth: none declared

## Request body

- CreateAccountInput
  - `display_name` string: Display Name
  - `username` string: Username
  - `first_name` string: First Name
  - `last_name` string: Last Name
  - `email` string, required: Contact email address
  - `password` string, required: Password
  - `custom_fields` Map, required
    - `key` string, required: Custom field name
    - `value` string, required: Value
  - `locale` string: An ISO 639-1 language code

## Response `201`

Tenant created

- object

---

[API](https://skmtc.dev/fanhero/apis/user-management-endpoints.md) - [All operations](https://skmtc.dev/fanhero/apis/user-management-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/fanhero/apis/user-management-endpoints/revisions/3f982670c057?raw)
