Patch tenant-scoped settings for a category.
PATCH
/api/admin/tenants/{tenantId}/settings/{category}
Code sample: Shell / cURL
curl --request PATCH \ --url https://auth.example.com/api/admin/tenants/example/settings/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "ifMatch": "v1", "changes": { "oauth.require_pkce": true } }'Update Setting settings in the Tenants 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 ” tenantId
required
string
category
required
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
ifMatch
required
Expected settings version for optimistic concurrency.
string
changes
object
key
additional properties
clear
Array<string>
disable
Array<string>
key
additional properties
Example
{ "ifMatch": "v1", "changes": { "oauth.require_pkce": true }}Responses
Section titled “ Responses ”Settings v2 patch response.
Media type application/json
Settings v2 patch result. Includes applied, cleared, disabled, rejected, and version metadata from the settings manager.
object
key
additional properties
Example
{ "applied": [ "oauth.require_pkce" ], "cleared": [], "disabled": [], "rejected": {}, "version": "v2"}