OAuth Clients

Update OAuth client

Update an OAuth client's name, description, redirect_uris, or active status.

patch/admin/oauth-clients/{id}

Path parameters

idstring required

Request body

activeboolean nullable
allowed_scopesstring[] nullable

Scope restriction list. Null means no change; an empty list denies all non-OIDC scopes; the wildcard ["*"] resets to unrestricted.

descriptionstring nullable
namestring nullable
redirect_urisstring[] nullable
require_consentboolean nullable

Response

Successful Response

activeboolean required
allowed_scopesstring[] nullable required

Scopes this client may request. Null means unrestricted.

client_idstring required

Public client identifier used in OAuth flows.

created_atstring date-time required
created_bystring nullable required
descriptionstring nullable required
idstring required

Internal ID (ksuid).

namestring required
redirect_urisstring[] required
require_consentboolean required

Whether a consent screen is shown during authorization.

updated_atstring date-time nullable required

Example response

{
  "active": true,
  "client_id": "oc_abc123...",
  "created_at": "2026-08-18T12:00:00Z",
  "created_by": "usr_abc123",
  "description": "My application production deployment",
  "id": "oac_2NxYz...",
  "name": "my-app-production",
  "redirect_uris": [
    "https://app.example.com/auth/callback"
  ],
  "require_consent": true
}

Changes

Changed in 1 of the 85 revisions of this API.1