---
title: "Create a new user"
method: POST
path: "/user-metadata"
---

# Create a new user

`POST /user-metadata`

Create a new user based on the provided details.

## Request body

- object
  - `first_name` string
  - `last_name` string
  - `email` string
  - `new_tenant_id` string
  - `tenant_name` string
  - `is_owner` boolean
  - `created_at` string, date-time
  - `new_user_id` string

## Response `200`

User created successfully

- object
  - `message` string

## Other responses

- `400` — Invalid request
- `500` — Internal server error

---

[API](https://skmtc.net/supabase/apis/dalil-oauth-resource-api.md) · [All operations](https://skmtc.net/supabase/apis/dalil-oauth-resource-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/supabase/dalil-oauth-resource-api/versions/40a7125e0355/schema)
