コンテンツにスキップ

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.

Media type application/json
object
enabled
boolean
ttlSeconds
integer
>= 1 <= 3600
key
additional properties
Example
{
"enabled": true,
"ttlSeconds": 60
}

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"
}