{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-oauth-client-update-request-schema.json",
  "title": "OAuthClientUpdateRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-oauth-clients-api-openapi.yml#/components/schemas/OAuthClientUpdateRequest",
  "additionalProperties": false,
  "properties": {
    "allowed_grant_types": {
      "description": "List of allowed OAuth grant types",
      "items": {
        "enum": [
          "client_credentials",
          "authorization_code",
          "refresh_token"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "allowed_scopes": {
      "description": "List of allowed OAuth scopes",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "logo_uri": {
      "description": "URL of the client logo",
      "format": "uri",
      "type": "string"
    },
    "name": {
      "description": "The name of the OAuth client",
      "type": "string"
    },
    "policy_uri": {
      "description": "URL of the client's privacy policy",
      "format": "uri",
      "type": "string"
    },
    "redirect_uris": {
      "description": "List of redirect URIs",
      "items": {
        "format": "uri",
        "type": "string"
      },
      "type": "array"
    },
    "require_pkce": {
      "description": "Whether PKCE (Proof Key for Code Exchange) is required for this client",
      "type": "boolean"
    },
    "tos_uri": {
      "description": "URL of the client's terms of service",
      "format": "uri",
      "type": "string"
    }
  },
  "type": "object"
}