CreateOAuthApplicationBody

Request body for creating an OAuthApplication.

Definition

TypeScript
interface CreateOAuthApplicationBody {
  ownerOrgId: string;
  name: string;
  type: "public" | "web" | "native" | "user-agent-based";
  redirectUrls: Array<string>;
  allowedScopes: Array<"workspace:read" | "workspace:write">;
}

Fields

FieldTypeNotes
ownerOrgIdstringrequired — Organization that will own the application.
namestringrequired — Display name.
type"public" | "web" | "native" | "user-agent-based"required
redirectUrlsArray<string>required — Allowed redirect URLs — exact match enforced at /authorize.
allowedScopesArray<"workspace:read" | "workspace:write">required — Scopes this app may request. Defaults to the v1 vocabulary.