コンテンツにスキップ

Get tenant logging override

GET
/api/admin/settings/logging/tenant/{tenantId}
Code sample: Shell / cURL
curl --request GET \
--url https://auth.example.com/api/admin/settings/logging/tenant/example \
--header 'Authorization: Bearer <token>'

Returns the effective log level for a tenant and the tenant-specific override if present.

tenantId
required
string

Tenant ID.

Tenant logging override.

Media type application/json
object
tenant_id
string
level

Tenant effective log level and source.

object
key
additional properties
note
string
key
additional properties
Example
{
"tenant_id": "tenant_123",
"level": {
"current": "debug",
"source": "tenant_override",
"tenant_override": "debug",
"global_level": "info",
"valid_values": [
"debug",
"info",
"warn",
"error"
],
"kv_key": "tenant_log_level:tenant_123"
},
"note": "Tenant-specific log level overrides the global setting"
}

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