Unkey · Schema

V2IdentitiesUpdateIdentityRequestBody

APIKeysRate LimitingAuthenticationDeveloper PlatformAccess ControlIdentityAnalytics

Properties

Name Type Description
identity string The ID of the identity to update. Accepts either the externalId (your system-generated identifier) or the identityId (internal identifier returned by the identity service).
meta object Replaces all existing metadata with this new metadata object. Omitting this field preserves existing metadata, while providing an empty object clears all metadata. Avoid storing sensitive data here as
ratelimits array Replaces all existing identity rate limits with this complete list of rate limits. Omitting this field preserves existing rate limits, while providing an empty array removes all rate limits. These lim
View JSON Schema on GitHub

JSON Schema

unkey-v2identitiesupdateidentityrequestbody-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/V2IdentitiesUpdateIdentityRequestBody",
  "title": "V2IdentitiesUpdateIdentityRequestBody",
  "type": "object",
  "properties": {
    "identity": {
      "type": "string",
      "minLength": 1,
      "description": "The ID of the identity to update. Accepts either the externalId (your system-generated identifier) or the identityId (internal identifier returned by the identity service).",
      "example": "user_123"
    },
    "meta": {
      "type": "object",
      "additionalProperties": true,
      "maxProperties": 100,
      "description": "Replaces all existing metadata with this new metadata object.\nOmitting this field preserves existing metadata, while providing an empty object clears all metadata.\nAvoid storing sensitive data here as it's returned in verification responses.\nLarge metadata objects increase verification latency and should stay under 10KB total size.\n",
      "example": {
        "name": "Alice Smith",
        "email": "alice@example.com",
        "plan": "premium"
      }
    },
    "ratelimits": {
      "type": "array",
      "maxItems": 50,
      "items": {
        "$ref": "#/components/schemas/RatelimitRequest"
      },
      "description": "Replaces all existing identity rate limits with this complete list of rate limits.\nOmitting this field preserves existing rate limits, while providing an empty array removes all rate limits.\nThese limits are shared across all keys belonging to this identity, preventing abuse through multiple keys.\nRate limit changes take effect immediately but may take up to 30 seconds to propagate across all regions.\n",
      "example": [
        {
          "name": "requests",
          "limit": 1000,
          "duration": 3600000,
          "autoApply": true
        }
      ]
    }
  },
  "additionalProperties": false,
  "required": [
    "identity"
  ]
}

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/unkey-v2identitiesupdateidentityrequestbody"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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

Get an API key

Free tier, no email required.

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