---
title: "POST /get-account-settings"
method: POST
path: "/get-account-settings"
tags: ["v2"]
---

# POST /get-account-settings

`POST /get-account-settings`

## Request body

- GetAccountSettings
  - `json` boolean — Set output format to JSON
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication

## Response `200`

getAccountSettingsResponse wraps response body.

- GetAccountSettingsCommandOutput
  - `account_id` string
  - `address` CustomerFullAddress
    - `city` string
    - `country` string
    - `postal_code` string
    - `street` string
  - `company_name` string
  - `email` string
  - `general_settings` AccountGeneralSettings — AccountGeneralSettings describes general settings for an account
    - `account_default_key_item_id` integer — AccountDefaultKeyItemID is the item ID of the DFC key item configured as the default protection key
    - `account_default_key_name` string — AccountDefaultKeyName is the name of the DFC key item configured as the default key This is here simply for the response to include the item name in addition to the display ID so the client can properly show this to the user. It will not be saved to the DB, only the AccountDefaultKeyItemID will.
    - `ai_insights` AiInsightsSetting
      - `enable` boolean
    - `allow_auto_fill` boolean
    - `allow_passkeys` boolean
    - `allowed_client_types` AllowedClientType
      - `client_types` string[]
      - `lock` boolean
    - `allowed_clients_ips` AllowedIpSettings
      - `cidr_whitelist` string
      - `lock` boolean
    - `allowed_gateways_ips` AllowedIpSettings
      - `cidr_whitelist` string
      - `lock` boolean
    - `auth_usage_event` UsageEventSetting
      - `enable` boolean
      - `enable_time` string, date-time
      - `interval_by_days` integer
    - `certificate_expiration_events` CertificateExpirationEventsSettings
      - `enable` boolean
      - `expirations_list` CertificateExpirationEvent[] — ExpirationEventsList is the default expiration events for the account
        - `seconds_before` integer
    - `data_protection_section` DataProtectionSection — We need the fields to be pointers as we use the same struct for partial updates as well
      - `enable_classic_key_protection` boolean
    - `default_auth_method` DefaultAuthMethodSettings
      - `default_access_id` string
      - `default_auth_method_type` string
    - `default_home_page` DefaultHomePage
      - `route` string
    - `dynamic_secret_max_ttl` DynamicSecretMaxTtl
      - `enable` boolean
      - `max_ttl_by_minutes` integer
    - `enable_request_for_access` boolean
    - `hide_personal_folder` boolean
    - `hide_secret_reveal_copy` boolean
    - `hide_static_password` boolean
    - `invalid_characters` string — InvalidCharacters is the invalid characters for items/targets/roles/auths/notifier_forwarder naming convention
    - `item_locking` ItemLockingSetting
      - `enable` boolean
      - `max_lock_ttl_mins` integer
    - `item_usage_event` UsageEventSetting
      - `enable` boolean
      - `enable_time` string, date-time
      - `interval_by_days` integer
    - `lock_default_key` boolean — LockDefaultKey determines whether the configured default key can be updated by end-users on a per-request basis true - all requests use the configured default key false - every request can determine its protection key (default) nil - change nothing (every request can determine its protection key (default)) This parameter is only relevant if AccountDefaultKeyItemID is not empty
    - `password_expiration_info` PasswordExpirationInfo
      - `days_before_expire` integer
      - `days_before_notification` integer
      - `days_until_expire` integer — r/o calculated parameter
      - `enable` boolean
    - `password_policy` PasswordPolicyInfo
      - `password_length` integer
      - `use_capital_letters` boolean
      - `use_lower_letters` boolean
      - `use_numbers` boolean
      - `use_special_characters` boolean
    - `password_score` PasswordScoreSetting
      - `enabled` boolean
    - `protect_items_by_default` boolean
    - `rotation_secret_max_interval` RotationSecretMaxInterval
      - `enable` boolean
      - `max_interval_by_days` integer
    - `sharing_policy` SharingPolicyInfo
      - `allowed_email_domains` string[] — AllowedEmailDomains limits email sharing to these domains. By default all domains are allowed.
      - `default_share_link_ttl` integer
      - `enable` boolean
  - `object_version_settings` AccountObjectVersionSettingsOutput
    - `default-versioning` boolean
    - `force_new_versions` boolean
    - `items` ObjectVersionSettingsOutput[]
      - `item-type` string — VersionSettingsObjectType defines object types for account version settings
      - `max-versions` string
  - `phone` string
  - `secret_management` SmInfo
    - `sla` string
    - `tier` string — Tier represents a level of extensibility the account will have, defined by various limits for different resources of Akeyless e.g - A StarterTier may have a limit of 3 Client resources and 50 Secret resources
  - `secure_remote_access` SraInfo
    - `sla` string
    - `tier` string — Tier represents a level of extensibility the account will have, defined by various limits for different resources of Akeyless e.g - A StarterTier may have a limit of 3 Client resources and 50 Secret resources
    - `user_type` string
  - `system_access_creds_settings` SystemAccessCredsSettings — SystemAccessCredsSettings describes system access credential settings for account by minutes
    - `jwt_ttl_default` integer
    - `jwt_ttl_maximum` integer
    - `jwt_ttl_minimum` integer

## Other responses

- `default` — errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
