curl --request PATCH \
--url https://api.wacht.dev/settings/restrictions \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"allowlist_enabled": true,
"blocklist_enabled": true,
"block_subaddresses": true,
"block_disposable_emails": true,
"block_voip_numbers": true,
"country_restrictions": {
"mode": "allowlist",
"allowed_country_codes": [
"<string>"
],
"blocked_country_codes": [
"<string>"
]
},
"banned_keywords": [
"<string>"
],
"allowlisted_resources": [
"<string>"
],
"blocklisted_resources": [
"<string>"
],
"sign_up_mode": "open",
"waitlist_collect_names": true,
"multi_session_support": "enabled",
"session_token_lifetime": 123,
"session_validity_period": 123,
"session_inactive_timeout": 123
}
'