SerenAI

Pay Per Call Agentic Commerce

UpdateOAuthProviderRequest

Request to update an OAuth provider (admin only). Fields use `Option<Option<T>>` where `null` explicitly clears the value.

Properties

PropertyTypeRequiredDescription
authorization_url string,null No
client_id string,null No
client_secret string,null No Optional new client secret (will be re-encrypted). If omitted, keep existing.
custom_auth_params any No Custom provider-specific authorization URL parameters. If omitted, leave unchanged.
description string,null No If omitted, leave unchanged. If null, clear.
is_active boolean,null No
logo_url string,null No If omitted, leave unchanged. If null, clear.
name string,null No
organization_id string,null No If omitted, leave unchanged. If null, make global. If set, scope to organization.
pkce_required boolean,null No
revocation_url string,null No If omitted, leave unchanged. If null, clear.
scopes array,null No
slug string,null No
token_endpoint_auth_method any No
token_url string,null No
userinfo_url string,null No If omitted, leave unchanged. If null, clear.
View JSON Schema
{
  "type": "object",
  "description": "Request to update an OAuth provider (admin only).\n\nFields use `Option<Option<T>>` where `null` explicitly clears the value.",
  "properties": {
    "authorization_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "client_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "client_secret": {
      "type": [
        "string",
        "null"
      ],
      "description": "Optional new client secret (will be re-encrypted). If omitted, keep existing."
    },
    "custom_auth_params": {
      "description": "Custom provider-specific authorization URL parameters. If omitted, leave unchanged."
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "If omitted, leave unchanged. If null, clear."
    },
    "is_active": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "logo_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "If omitted, leave unchanged. If null, clear."
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "organization_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "If omitted, leave unchanged. If null, make global. If set, scope to organization."
    },
    "pkce_required": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "revocation_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "If omitted, leave unchanged. If null, clear."
    },
    "scopes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "token_endpoint_auth_method": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/TokenEndpointAuthMethod"
        }
      ]
    },
    "token_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "userinfo_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "If omitted, leave unchanged. If null, clear."
    }
  }
}