Authorization: ********************
{
"authentication_preferences": {
"org_id": "string",
"authorization_via_ip": true,
"allowed_ips": [
"string"
],
"agent_api_key": "string",
"enable_2fa": true,
"block_unverified_users": true,
"email_mfa_settings": {
"enabled": true
},
"duo_mfa_settings": {
"duo_client_id": "string",
"duo_api_host": "string",
"enabled": true
},
"allow_force_password_reset_interval": true,
"password_reset_day_interval": 0,
"user_authorization_via_ip": true,
"force_sso_provider": true,
"enable_totp": true
},
"duo_client_secret": "string",
"field_mask": "string"
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v1alpha1/org/preferences/authentication/update' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"authentication_preferences": {
"org_id": "string",
"authorization_via_ip": true,
"allowed_ips": [
"string"
],
"agent_api_key": "string",
"enable_2fa": true,
"block_unverified_users": true,
"email_mfa_settings": {
"enabled": true
},
"duo_mfa_settings": {
"duo_client_id": "string",
"duo_api_host": "string",
"enabled": true
},
"allow_force_password_reset_interval": true,
"password_reset_day_interval": 0,
"user_authorization_via_ip": true,
"force_sso_provider": true,
"enable_totp": true
},
"duo_client_secret": "string",
"field_mask": "string"
}'
{}