Clear OAuth configuration override
DELETE
/api/admin/settings/oauth-config/{name}
Code sample: Shell / cURL
curl --request DELETE \ --url https://auth.example.com/api/admin/settings/oauth-config/example \ --header 'Authorization: Bearer <token>'Deletes one OAuth configuration override and falls back to environment or default value.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” name
required
string
OAuth configuration name.
Responses
Section titled “ Responses ”OAuth config override cleared.
Media type application/json
object
success
boolean
config
string
note
string
key
additional properties
Example
{ "success": true, "config": "require_pkce", "note": "Config override cleared. Will use env/default value. Cache will refresh 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"}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"}