# Update organization

**PATCH /api/organizations/{id}**

Update organization details by ID with the given data.


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


## Authentication methods
- O auth2


## Parameters

### Path parameters

- **id** (string)
  The unique identifier of the organization.



### Body: application/json (object)

- **tenantId** (string)

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

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

- **customData** (object)
  arbitrary

- **isMfaRequired** (boolean)

- **isTrustedDeviceAllowed** (boolean)

- **color** (object)

- **branding** (object)

- **customCss** (string | null)

- **createdAt** (number)



## Responses
### 200
The organization was updated 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

### 404
Not Found

### 422
Unprocessable Content


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