Skip to main content
POST
/
admin
/
instance-config
/
update
Update instance configuration
curl --request POST \
  --url https://api.fluxer.app/v1/admin/instance-config/update \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "manual_review_enabled": true,
  "manual_review_schedule_enabled": true,
  "manual_review_schedule_start_hour_utc": 11,
  "manual_review_schedule_end_hour_utc": 11,
  "registration_alerts_webhook_url": "<string>",
  "system_alerts_webhook_url": "<string>",
  "sso": {
    "enabled": true,
    "display_name": "<string>",
    "issuer": "<string>",
    "authorization_url": "<string>",
    "token_url": "<string>",
    "userinfo_url": "<string>",
    "jwks_url": "<string>",
    "client_id": "<string>",
    "client_secret": "<string>",
    "scope": "<string>",
    "allowed_domains": [
      "<string>"
    ],
    "auto_provision": true,
    "redirect_uri": "<string>"
  }
}
'
{
  "manual_review_enabled": true,
  "manual_review_schedule_enabled": true,
  "manual_review_schedule_start_hour_utc": 1073741823,
  "manual_review_schedule_end_hour_utc": 1073741823,
  "manual_review_active_now": true,
  "registration_alerts_webhook_url": "<string>",
  "system_alerts_webhook_url": "<string>",
  "sso": {
    "enabled": true,
    "display_name": "<string>",
    "issuer": "<string>",
    "authorization_url": "<string>",
    "token_url": "<string>",
    "userinfo_url": "<string>",
    "jwks_url": "<string>",
    "client_id": "<string>",
    "client_secret_set": true,
    "scope": "<string>",
    "allowed_domains": [
      "<string>"
    ],
    "auto_provision": true,
    "redirect_uri": "<string>"
  },
  "self_hosted": true
}

Authorizations

Authorization
string
header
required

Admin API key: Authorization: Admin <token>. Only valid for /admin/* endpoints.

Body

application/json
manual_review_enabled
boolean
manual_review_schedule_enabled
boolean
manual_review_schedule_start_hour_utc
integer<int32>
Required range: 0 <= x <= 23
manual_review_schedule_end_hour_utc
integer<int32>
Required range: 0 <= x <= 23
registration_alerts_webhook_url
string<uri> | null
system_alerts_webhook_url
string<uri> | null
sso
object

Response

Success

manual_review_enabled
boolean
required
manual_review_schedule_enabled
boolean
required
manual_review_schedule_start_hour_utc
integer<int32>
required
Required range: 0 <= x <= 2147483647
manual_review_schedule_end_hour_utc
integer<int32>
required
Required range: 0 <= x <= 2147483647
manual_review_active_now
boolean
required
registration_alerts_webhook_url
string | null
required
system_alerts_webhook_url
string | null
required
sso
object
required
self_hosted
boolean
required