Lytics Account Settings API

Account Settings describe features/settings for a Lytics account.

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/account/setting/{setting} Get the value of one account setting · Retrieve a Single Account Setting #
Ask an LLM
“What is the current value of a specific account setting?”
“Can I read one account setting by its slug?”
Tell an agent
Show me the value of account setting {setting}.
Get the {setting} setting for my account.
PUT /api/account/setting/{setting} Change an account setting · Account Setting Update #
Ask an LLM
“Can I change how many days a logon session lasts for my account?”
“How do I set a new value on an account setting?”
Tell an agent
Change account setting {setting} to a new value.
Update the {setting} setting on my account.
DELETE /api/account/setting/{setting} Reset a custom account setting · Account Setting Delete #
Ask an LLM
“Can I remove a custom value from an account setting and fall back to the default?”
“What happens to a setting's default when I delete its custom value?”
Tell an agent destructive · confirm first
Delete the custom value of account setting {setting}.
Reset {setting} back to its default by removing my override.
GET /api/account/setting List all account settings · Account Setting List #
Ask an LLM
“Which account settings exist and what are they set to?”
“Can I see every configurable setting for my account in one call?”
Tell an agent
List all my account settings.
Show every account setting and its current value.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lytics:lytics-account-settings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lytics-account-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: V1 Lytics Account Settings API
  version: 1.0.0
  description: 'The Lytics API is a _restful_ *JSON* api that includes:

    * *Data Collection* api''s for collection, and upload of custom data.'
servers:
- url: https://api.lytics.io
tags:
- name: Account Settings
  description: Account Settings describe features/settings for a Lytics account.
paths:
  /api/account/setting/{setting}:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountSettingModel'
              examples:
                response:
                  value:
                    can_be_assigned: true
                    category: Security
                    field:
                      description: Enforce rule preventing re-use of same password.
                      editable: false
                      label: ''
                      name: Enforce Password History
                      optional: false
                      sort_order: 0
                      type: boolean
                      user_config_disabled: false
                    slug: enforce_password_history
                    type: setting
                    value: null
      security:
      - ApiKeyAuth: []
      summary: Retrieve a Single Account Setting
      operationId: RetrieveASingleAccountSetting
      description: Get single Account Setting by slug.
      tags:
      - Account Settings
      parameters:
      - name: account_id
        in: query
        description: Your Lytics account ID.
        required: false
        schema:
          type: string
      - name: setting
        in: path
        description: slug of account setting.
        required: true
        example: enforce_password_history
        schema:
          type: string
      x-operation-id-source: normalized
      x-operation-id-original: Retrieve a Single Account Setting
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountSettingModel'
              examples:
                response:
                  value:
                    can_be_assigned: true
                    category: Security
                    field:
                      description: Enforce rule preventing re-use of same password.
                      editable: false
                      label: ''
                      name: Enforce Password History
                      optional: false
                      sort_order: 0
                      type: boolean
                      user_config_disabled: false
                    slug: enforce_password_history
                    type: setting
                    value: null
      security:
      - ApiKeyAuth: []
      summary: Account Setting Update
      operationId: AccountSettingUpdate
      description: 'Post update to Account Setting. See list of possible Settings from the List api.


        ```sh


        curl -XPUT "https://api.lytics.io/api/account/setting/logon_session_days" \

        -H ''Content-type: application/json'' \

        -H ''Authorization: $LIOKEY'' \

        -d ''10''


        ```'
      tags:
      - Account Settings
      parameters:
      - name: account_id
        in: query
        description: Your Lytics account ID.
        required: false
        schema:
          type: string
      - name: setting
        in: path
        description: slug of account setting.
        required: true
        example: enforce_password_history
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: number
      x-operation-id-source: normalized
      x-operation-id-original: Account Setting Update
    delete:
      responses:
        '204':
          description: No Content
          headers: {}
      security:
      - ApiKeyAuth: []
      summary: Account Setting Delete
      operationId: AccountSettingDelete
      description: 'Delete a custom account setting. Given a key for a setting, delete the custom-value.


        Note, since account-settings may have default values, this only deletes the entire value that currently exists.


        ```sh


        curl -XDELETE "https://api.lytics.io/api/account/setting/logon_session_days" \

        -H ''Authorization: $LIOKEY''


        ```'
      tags:
      - Account Settings
      parameters:
      - name: account_id
        in: query
        description: Your Lytics account ID.
        required: false
        schema:
          type: string
      - name: setting
        in: path
        description: slug of account setting.
        required: true
        example: enforce_password_history
        schema:
          type: string
      x-operation-id-source: normalized
      x-operation-id-original: Account Setting Delete
  /api/account/setting:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountSettingListModel'
              examples:
                response:
                  value:
                    status: success
                    data:
                    - can_be_assigned: true
                      category: Security
                      field:
                        description: Enforce rule preventing re-use of same password.
                        editable: false
                        label: ''
                        name: Enforce Password History
                        optional: false
                        sort_order: 0
                        type: boolean
                        user_config_disabled: false
                      slug: enforce_password_history
                      type: setting
                      value: null
                    - can_be_assigned: true
                      category: Security
                      field:
                        description: Enforce rule forcing high-password complexity.
                        editable: false
                        label: ''
                        name: Enforce Password Complexity
                        optional: false
                        sort_order: 0
                        type: boolean
                        user_config_disabled: false
                      slug: enforce_password_complexity
                      type: setting
                      value: null
                    - can_be_assigned: true
                      category: Security
                      field:
                        description: Ensure all users have two-factor auth.
                        editable: false
                        label: ''
                        name: All users must have two factor auth.
                        optional: false
                        sort_order: 0
                        type: boolean
                        user_config_disabled: false
                      slug: enforce_two_factor_auth
                      type: setting
                      value: null
      security:
      - ApiKeyAuth: []
      summary: Account Setting List
      operationId: AccountSettingList
      description: ''
      tags:
      - Account Settings
      x-operation-id-source: normalized
      x-operation-id-original: Account Setting List
components:
  schemas:
    AccountSettingListModel:
      type: object
      properties:
        status:
          type: string
        data:
          type: array
          items:
            type: object
            properties:
              can_be_assigned:
                type: boolean
              category:
                type: string
              field:
                type: object
                properties:
                  description:
                    type: string
                  editable:
                    type: boolean
                  label:
                    type: string
                  name:
                    type: string
                  optional:
                    type: boolean
                  sort_order:
                    type: number
                  type:
                    type: string
                  user_config_disabled:
                    type: boolean
              slug:
                type: string
              type:
                type: string
              value: {}
            required:
            - can_be_assigned
            - category
            - field
            - slug
            - type
            - value
      example:
        status: success
        data:
        - can_be_assigned: true
          category: Security
          field:
            description: Enforce rule preventing re-use of same password.
            editable: false
            label: ''
            name: Enforce Password History
            optional: false
            sort_order: 0
            type: boolean
            user_config_disabled: false
          slug: enforce_password_history
          type: setting
          value: null
        - can_be_assigned: true
          category: Security
          field:
            description: Enforce rule forcing high-password complexity.
            editable: false
            label: ''
            name: Enforce Password Complexity
            optional: false
            sort_order: 0
            type: boolean
            user_config_disabled: false
          slug: enforce_password_complexity
          type: setting
          value: null
        - can_be_assigned: true
          category: Security
          field:
            description: Ensure all users have two-factor auth.
            editable: false
            label: ''
            name: All users must have two factor auth.
            optional: false
            sort_order: 0
            type: boolean
            user_config_disabled: false
          slug: enforce_two_factor_auth
          type: setting
          value: null
    AccountSettingModel:
      type: object
      properties:
        can_be_assigned:
          type: boolean
        category:
          type: string
        field:
          type: object
          properties:
            description:
              type: string
            editable:
              type: boolean
            label:
              type: string
            name:
              type: string
            optional:
              type: boolean
            sort_order:
              type: number
            type:
              type: string
            user_config_disabled:
              type: boolean
        slug:
          type: string
        type:
          type: string
        value: {}
      example:
        can_be_assigned: true
        category: Security
        field:
          description: Enforce rule preventing re-use of same password.
          editable: false
          label: ''
          name: Enforce Password History
          optional: false
          sort_order: 0
          type: boolean
          user_config_disabled: false
        slug: enforce_password_history
        type: setting
        value: null
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: Authorization
      type: apiKey
x-readme:
  explorer-enabled: true
  proxy-enabled: true