PipesHub · Schema

UpdateOAuthAppRequest

Request to update an OAuth app (`updateAppSchema` in `oauth.validators.ts`). All fields are optional — include only fields that should change. URL fields (`homepageUrl`, `privacyPolicyUrl`, `termsOfServiceUrl`) accept `null` to clear them (nullable in Zod). **Redirect rule (Zod refine):** If `allowedGrantTypes` includes `authorization_code` and `redirectUris` is present in the body, `redirectUris` must contain at least one URI.

CompanyArtificial IntelligenceEnterprise SearchAI AgentsOpen SourceKnowledge ManagementWorkplace AI

Properties

Name Type Description
name string App name
description string App description
redirectUris array Allowed redirect URIs (up to 10). Required when `authorization_code` grant type is enabled. Preserved in the database even if `authorization_code` is removed from grant types.
allowedGrantTypes array
allowedScopes array
homepageUrl stringnull
privacyPolicyUrl stringnull
termsOfServiceUrl stringnull
accessTokenLifetime integer
refreshTokenLifetime integer
View JSON Schema on GitHub

JSON Schema

pipeshub-update-oauth-app-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipeshub/json-schema/pipeshub-update-oauth-app-request-schema.json",
  "title": "UpdateOAuthAppRequest",
  "description": "Request to update an OAuth app (`updateAppSchema` in `oauth.validators.ts`).\n\nAll fields are optional — include only fields that should change. URL fields (`homepageUrl`, `privacyPolicyUrl`, `termsOfServiceUrl`) accept `null` to clear them (nullable in Zod).\n\n**Redirect rule (Zod refine):** If `allowedGrantTypes` includes `authorization_code` and `redirectUris` is present in the body, `redirectUris` must contain at least one URI.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pipeshub-oauth-apps-api-openapi.yml#/components/schemas/UpdateOAuthAppRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "App name",
      "minLength": 1,
      "maxLength": 100
    },
    "description": {
      "type": "string",
      "description": "App description",
      "maxLength": 500
    },
    "redirectUris": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "description": "Allowed redirect URIs (up to 10). Required when `authorization_code` grant type is enabled.\nPreserved in the database even if `authorization_code` is removed from grant types.\n",
      "maxItems": 10
    },
    "allowedGrantTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "authorization_code",
          "client_credentials",
          "refresh_token"
        ]
      }
    },
    "allowedScopes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1
    },
    "homepageUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "privacyPolicyUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "termsOfServiceUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "accessTokenLifetime": {
      "type": "integer",
      "minimum": 300,
      "maximum": 86400
    },
    "refreshTokenLifetime": {
      "type": "integer",
      "minimum": 3600,
      "maximum": 31536000
    }
  }
}

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/pipeshub-update-oauth-app-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.