v1

latestOpenAPI 3.0.02026-08-0645062.8 KB

Create a new user

Create a new user based on the provided details.

post/user-metadata

Request body

first_namestring
last_namestring
emailstring
new_tenant_idstring
tenant_namestring
is_ownerboolean
created_atstring date-time
new_user_idstring

Example request

{
  "first_name": "John",
  "last_name": "Doe",
  "email": "john.doe@example.com",
  "new_tenant_id": "tenant-123",
  "tenant_name": "Tenant Name",
  "is_owner": true,
  "created_at": "2023-01-01T00:00:00Z",
  "new_user_id": "user-123"
}

Response

User created successfully

messagestring

Example response

{
  "message": "User created successfully"
}