Get account center settings

GET /api/account-center

Get the account center settings.

Responses

  • 200 application/json

    Account center settings.

    Hide response attributes Show response attributes object
    • tenantId string Required

      Maximum length is 21.

    • id string Required

      Minimum length is 1, maximum length is 21.

    • enabled boolean Required
    • fields object Required

      Additional properties are allowed.

      Hide fields attributes Show fields attributes object
      • name string

        Values are Off, ReadOnly, or Edit.

      • avatar string

        Values are Off, ReadOnly, or Edit.

      • profile string

        Values are Off, ReadOnly, or Edit.

      • email string

        Values are Off, ReadOnly, or Edit.

      • phone string

        Values are Off, ReadOnly, or Edit.

      • password string

        Values are Off, ReadOnly, or Edit.

      • username string

        Values are Off, ReadOnly, or Edit.

      • social string

        Values are Off, ReadOnly, or Edit.

      • Values are Off, ReadOnly, or Edit.

  • Unauthorized

  • Forbidden

GET /api/account-center
curl \
 -X GET https://[tenant_id].logto.app/api/account-center \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "tenantId": "string",
  "id": "string",
  "enabled": true,
  "fields": {
    "name": "Off",
    "avatar": "Off",
    "profile": "Off",
    "email": "Off",
    "phone": "Off",
    "password": "Off",
    "username": "Off",
    "social": "Off",
    "customData": "Off"
  }
}