User

Put Api User Setting

Changed on
put/api/user/setting

Request

  • Base URL
    https://api.unorouter.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization and API key in header New-Api-User
    • or API key in header New-Api-User and API key in cookie session

Request body

UpdateUserSettingRequest required

UpdateUserSettingRequest schema

accept_unset_model_ratio_model, boolean required
bark_url, string
channel_notify_enabled, boolean nullable
gotify_priority, integer
gotify_token, string
gotify_url, string
notification_email, string
notify_type, string required
quota_warning_enabled, boolean required
quota_warning_threshold, number double required
record_ip_log, boolean required
upstream_model_update_notify_enabled, boolean nullable
webhook_secret, string
webhook_url, string

Response

OK

MessageResponse required
message, string required
success, boolean required

Changes