Skip to main content
POST
/
change-log-level
Change the logging level of the application
curl --request POST \
  --url https://api.example.com/change-log-level \
  --header 'Content-Type: application/json' \
  --data '
{
  "level": "error"
}
'
"<string>"

Body

application/json
level
enum<string>
required

The new logging level to set.

Available options:
error,
warn,
info,
debug,
silly

Response

The logging level was successfully changed.

The response is of type string.