> For the complete documentation index, see [llms.txt](https://openapi.logto.io/llms.txt)

# Create an organization

> POST /api/organizations
> 
> Create a new organization with the given data.



## Servers
- Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.)


## Authentication methods
- O auth2


## Parameters



### Body: application/json (object)

- **tenantId** (string)

- **name** (string)
  The name of the organization.

- **description** (string | null)
  The description of the organization.

- **customData** (object)
  arbitrary

- **isMfaRequired** (boolean)

- **isTrustedDeviceAllowed** (boolean)

- **color** (object)

- **branding** (object)

- **customCss** (string | null)

- **createdAt** (number)



## Responses
### 201
The organization was created successfully.

#### Body: application/json (object)
- **tenantId** (string)

- **id** (string)

- **name** (string)

- **description** (string | null)

- **customData** (object)
  arbitrary

- **isMfaRequired** (boolean)

- **isTrustedDeviceAllowed** (boolean)

- **color** (object)

- **branding** (object)

- **customCss** (string | null)

- **createdAt** (number)


### 400
Bad Request

### 401
Unauthorized

### 403
Forbidden

### 422
Unprocessable Content


[Powered by Bump.sh](https://bump.sh)
