v47

latestOpenAPI 3.0.3MIT Licenseraw.githubusercontent.com2026-08-015915132.9 KB
admin
oauth-server

Update OAuth client (admin)

Updates an existing OAuth client registration. Only the provided fields will be updated. Only available when OAuth server is enabled.

put/admin/oauth/clients/{client_id}

Request body

client_namestring

Human-readable name of the client application

client_uristring uri

URL of the client application's homepage

logo_uristring uri

URL of the client application's logo

redirect_urisstring[]

Array of redirect URIs used by the client

grant_typesstring[]

OAuth grant types the client is authorized to use

token_endpoint_auth_method'none' | 'client_secret_basic' | 'client_secret_post'

Authentication method for the token endpoint. Must be compatible with the client's current client_type. Confidential clients can use 'client_secret_basic' or 'client_secret_post'. Public clients can only use 'none'.

Response

OAuth client updated successfully

client_idstring

Unique client identifier

client_namestring

Human-readable name of the client application

client_secretstring

Client secret for confidential clients (only returned on registration/regeneration)

client_type'public' | 'confidential'

Type of the client

token_endpoint_auth_method'none' | 'client_secret_basic' | 'client_secret_post'

Authentication method for the token endpoint

registration_type'dynamic' | 'manual'

Registration type of the client

client_uristring uri

URL of the client application's homepage

logo_uristring uri

URL of the client application's logo

redirect_urisstring[]

Array of redirect URIs used by the client

grant_typesstring[]

OAuth grant types the client is authorized to use

response_typesstring[]

OAuth response types the client can use

scopestring

Space-separated list of scope values

created_atstring date-time
updated_atstring date-time