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

# Update account center settings

> PATCH /api/account-center
> 
> Update the account center settings with the provided settings.



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


## Authentication methods
- O auth2


## Parameters



### Body: application/json (object)

- **enabled** (boolean)
  Enable or disable the account API.

- **fields** (object)
  The fields settings for the account API.

- **webauthnRelatedOrigins** (array[string])
  The allowed domains for webauthn.

- **deleteAccountUrl** (object | null)
  The custom endpoint URL for account deletion.

- **customCss** (string | null)

- **profileFields** (array[object] | null)
  Ordered list of custom profile fields to show in the prebuilt account center. Each entry references an existing field by name in the custom profile fields catalog.

- **maximumAuthenticationAgeInSeconds** (number)
  How recent a user's authentication must be for the Account API to allow sensitive operations, in seconds.



## Responses
### 200
Updated account center settings.

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

- **id** (string)

- **enabled** (boolean)

- **fields** (object)

- **webauthnRelatedOrigins** (array[string])

- **deleteAccountUrl** (string | null)

- **customCss** (string | null)

- **profileFields** (array[object] | null)

- **maximumAuthenticationAgeInSeconds** (number)


### 400
The request body is invalid. E.g. `profileFields` contains names that do not exist in the custom profile fields catalog, or contains duplicate names.

### 401
Unauthorized

### 403
Forbidden


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