Lune · Schema

UpdateClientAccountRequest

LogisticsEmissionsCarbonSupply ChainSustainability

Properties

Name Type Description
name string The account name.
beneficiary string The account beneficiary. Leading and trailing spaces are removed.
bundle_portfolio_id string The bundle portfolio unique identifier.
handle string `handle` is a client defined URL-friendly string that identifies the account. The `handle` is unique per organisation and account type.
external_pages_visibility object
idempotency_key object
View JSON Schema on GitHub

JSON Schema

lune-update-client-account-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lune/json-schema/lune-update-client-account-request-schema.json",
  "title": "UpdateClientAccountRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lune-client-accounts-api-openapi.yml#/components/schemas/UpdateClientAccountRequest",
  "allOf": [
    {
      "$ref": "#/$defs/UpdateAccountRequest"
    },
    {
      "type": "object",
      "properties": {
        "idempotency_key": {
          "$ref": "#/$defs/AccountIdempotencyKey"
        }
      }
    }
  ],
  "$defs": {
    "AccountExternalPagesVisibility": {
      "description": "Controls the visibility of external pages such as sustainability and analytics pages.\n\n`public` pages are visible to everyone.\n`private` pages are only visible through a verified JWT.\n`hidden` pages not visible.\n\nDefaults to `hidden`.\n",
      "type": "string",
      "enum": [
        "public",
        "hidden",
        "private"
      ]
    },
    "AccountIdempotencyKey": {
      "type": "string",
      "maxLength": 100,
      "description": "A unique identifier provided by the client.\n\n`idempotency_key` is unique per account type.\n\nIf an account with the same `idempotency_key` already exists, the API returns\nHTTP 409 Conflict with error code `account_idempotency_already_exists`.\n"
    },
    "UpdateAccountRequest": {
      "description": "It's only possible to edit the name and beneficiary of an account.\n\nNot providing the `beneficiary` property will result in clearing the existing value (if present).\n",
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "description": "The account name.",
          "type": "string"
        },
        "beneficiary": {
          "description": "The account beneficiary. Leading and trailing spaces are removed.",
          "type": "string",
          "minLength": 1
        },
        "bundle_portfolio_id": {
          "description": "The bundle portfolio unique identifier.",
          "type": "string"
        },
        "handle": {
          "type": "string",
          "pattern": "^[a-z0-9-_]+$",
          "description": "`handle` is a client defined URL-friendly string that identifies the account.\n\nThe `handle` is unique per organisation and account type.\n"
        },
        "external_pages_visibility": {
          "$ref": "#/$defs/AccountExternalPagesVisibility"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/lune-update-client-account-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.