Authorization: Bearer ********************
{
"address": "4597 Clark Street",
"city": "Lemont",
"postal_code": "60439",
"country_id": 40,
"language_id": 2,
"phone_number": "0884625630",
"tech_email": "techmailinator2@mailinator.com",
"aff_hash": "b4e7b5",
"newsletter": true,
"company":true,
"company_name": "Company Name LTD",
"company_address": "2646 Tennessee Avenue",
"company_number": "223344",
"vat_number": "BG123456789"
}
curl --location --request PATCH 'https://api.vpsbg.eu/v1/user' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--data-raw '{
"address": "4597 Clark Street",
"city": "Lemont",
"postal_code": "60439",
"country_id": 40,
"language_id": 2,
"phone_number": "0884625630",
"tech_email": "techmailinator2@mailinator.com",
"aff_hash": "b4e7b5",
"newsletter": true,
"company":true,
"company_name": "Company Name LTD",
"company_address": "2646 Tennessee Avenue",
"company_number": "223344",
"vat_number": "BG123456789"
}'
{
"id": 6831,
"name": "john doe",
"email": "john_doe@gmail.com",
"technical_email": "john_doe_tech@gmail.com",
"phone_number": "359 895624580",
"country": {
"id": 40,
"code": "BG",
"name": "Bulgaria",
"name_bg": "България"
},
"city": "Sofia",
"address": "Bul. bulgaria 258",
"referral_code": "ec69c5",
"referrer_code": "fw12d5",
"language": "EN",
"tax_rate": 1.2,
"type": "legal_entity",
"company_name": "Example company LTD",
"company_address": "Luxemburg, Strasse 223",
"uic": "223344",
"vat_number": "BG123456789",
"email_verified": true,
"2fa_enabled": true,
"email_otp_enabled": true,
"newsletter": false,
"auto_renew_services": false,
"pending_ticlet": false,
"currency": {
"code": "EUR",
"prefix": "€",
"suffix": ""
},
"browser_sessions": [],
"settings": {
"floating_ipv4_limit": 20,
"floating_ipv4_left": 10,
"floating_ipv6_limit": 2,
"floating_ipv6_left": 1,
"server_ipv6_limit": 1,
"can_modify_aff_hash": false,
"show_shared_hosting": true,
"show_tour": false,
"show_switch_to_v1_banner": false
},
"support": null
}