Skip to content
Select language:English

/api/v1/me (PATCH)

PATCH
/api/v1/me
curl --request PATCH \
--url https://example.com/api/v1/me \
--header 'Content-Type: application/json' \
--data '{ "suggestLocation": true, "hidePersonal": true, "locale": "ar", "units": "metric", "region": "419" }'
Media typeapplication/json
object
suggestLocation
boolean
hidePersonal
boolean
locale
string
Allowed values: ar de en es fr it uk vi zh
units
string
Allowed values: metric imperial
region
Any of:
string
Allowed values: 419 AE AR AT AU BE BG BH BO BR CA CH CL CN CO CR CU CY CZ DE DK DO DZ EC EE EG ES FI FR GB GR GT HK HN HR HU ID IE IL IN IQ IS IT JO JP KE KR KW LB LT LU LV LY MA MT MX MY NG NI NL NO NZ OM PA PE PH PK PL PR PS PT PY QA RO RS SA SE SG SI SK SV SY TH TN TR TW UA US UY VE VN YE ZA

Default Response

Media typeapplication/json
object
suggestLocation
required
boolean
hidePersonal
required
boolean
locale
required
string
units
required
string
Allowed values: metric imperial
region
required
string | null
Example
{
"units": "metric"
}