Update tenant logging override
PUT
/api/admin/settings/logging/tenant/{tenantId}
Code sample: Shell / cURL
curl --request PUT \ --url https://auth.example.com/api/admin/settings/logging/tenant/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "level": "debug" }'Stores a tenant-specific log level override in AUTHRIM_CONFIG KV.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” tenantId
required
string
Tenant ID.
Request Body required
Section titled “Request Body required ” Media type application/json
object
level
required
string
key
additional properties
Example
{ "level": "debug"}Responses
Section titled “ Responses ”Tenant logging override updated.
Media type application/json
object
success
boolean
tenant_id
string
level
string
kv_key
string
note
string
key
additional properties
Example
{ "success": true, "tenant_id": "tenant_123", "level": "debug", "kv_key": "tenant_log_level:tenant_123", "note": "Tenant log level override applied. Changes will take effect within 10 seconds."}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"}