Update an OAuth/OIDC client.
curl --request PUT \ --url https://auth.example.com/api/admin/clients/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "client_name": "example", "description": "example", "redirect_uris": [ "https://example.com" ], "grant_types": [ "authorization_code" ], "response_types": [ "code" ], "scope": "example", "logo_uri": "https://example.com", "client_uri": "https://example.com", "policy_uri": "https://example.com", "tos_uri": "https://example.com", "contacts": [ "example" ], "token_endpoint_auth_method": "none", "subject_type": "public", "sector_identifier_uri": "https://example.com", "is_trusted": true, "skip_consent": true, "allow_claims_without_scope": true, "identity_mapping": { "fieldMappingSetId": "example", "fieldMappingVersionId": "example", "destinationNamespace": "example", "sourceProfileId": "example" }, "attribute_release_consent": { "enabled": true, "mode": "once" }, "allowed_redirect_origins": [ "example" ], "web_origin_registry": "example", "require_pkce": true, "application_type": "web", "trust_group": "example", "browser_public_client_mode": "disabled", "browser_refresh_token_policy": "disabled", "native_sso_enabled": true, "native_channel_allowed": true, "allowed_channels": [ "example" ], "token_exchange_allowed": true, "allowed_subject_token_clients": [ "example" ], "allowed_token_exchange_resources": [ "example" ], "delegation_mode": "none", "client_credentials_allowed": true, "allowed_scopes": [ "example" ], "requestable_scopes": [ "example" ], "default_scope": "example", "default_audience": "example", "default_resource": "example", "id_token_signed_response_alg": "RS256", "userinfo_signed_response_alg": "none", "initiate_login_uri": "https://example.com", "login_ui_url": "https://example.com" }'Replace Client in the Clients area. The request body is JSON unless the detailed schema for this operation states otherwise.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Header Parameters
Section titled “Header Parameters ”Tenant selector for multi-tenant admin requests.
Request Body required
Section titled “Request Body required ”object
OAuth scope tokens this client may request. Agent Access connections require explicit agent scopes.
JWS algorithm used for ID Tokens. RS256 is used when omitted.
JWS algorithm used for signed UserInfo responses. JSON is returned when set to none or omitted.
Responses
Section titled “ Responses ”OAuth/OIDC client mutation response.
object
object
OAuth scope tokens this client may request. Agent Access connections require explicit agent scopes.
JWS algorithm used for ID Tokens. RS256 is used when omitted.
JWS algorithm used for signed UserInfo responses. JSON is returned when set to none or omitted.
Returned only on secret-issuing operations such as confidential client creation or regeneration. Public clients using token_endpoint_auth_method=none do not generate or return a secret.
Example
{ "client": { "grant_types": [ "authorization_code" ], "response_types": [ "code" ], "token_endpoint_auth_method": "none", "subject_type": "public", "attribute_release_consent": { "mode": "once" }, "application_type": "web", "browser_public_client_mode": "disabled", "browser_refresh_token_policy": "disabled", "delegation_mode": "none", "id_token_signed_response_alg": "RS256", "userinfo_signed_response_alg": "none" }}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}