コンテンツにスキップ

Reset error response format setting

DELETE
/api/admin/settings/error-response-format
Code sample: Shell / cURL
curl --request DELETE \
--url https://auth.example.com/api/admin/settings/error-response-format \
--header 'Authorization: Bearer <token>'

Deletes the AUTHRIM_CONFIG response format override and falls back to the default format.

Error response format updated or reset.

Media type application/json
object
success
boolean
response_format
string
Allowed values: oauth problem_details
kv_key
string
note
string
key
additional properties
Example
{
"success": true,
"response_format": "problem_details",
"kv_key": "error_response_format",
"note": "Non-OIDC endpoints will now return RFC 9457 Problem Details format. OIDC core endpoints remain OAuth format."
}

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