Update introspection cache settings
PUT
/api/admin/settings/introspection-cache
Code sample: Shell / cURL
curl --request PUT \ --url https://auth.example.com/api/admin/settings/introspection-cache \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "enabled": true, "ttlSeconds": 60 }'Updates SETTINGS KV overrides for introspection cache enabled state and TTL. ttlSeconds must be an integer from 1 to 3600.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
object
enabled
boolean
ttlSeconds
integer
key
additional properties
Example
{ "enabled": true, "ttlSeconds": 60}Responses
Section titled “ Responses ”Introspection cache settings mutation result.
Media type application/json
object
success
boolean
settings
Resolved introspection cache settings.
object
key
additional properties
sources
Setting sources; present after clearing overrides.
object
key
additional properties
note
string
key
additional properties
Example
{ "success": true, "settings": { "enabled": true, "ttlSeconds": 60 }, "sources": { "enabled": "kv", "ttlSeconds": "kv" }, "note": "Introspection cache settings updated successfully."}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}