Skip to main content
PATCH
/
account
Update account
curl --request PATCH \
  --url https://api.example.com/account \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "locale": "<string>"
}
'
Free — does not consume credits
curl -X PATCH https://xquik.com/api/v1/account \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "locale": "tr"
  }' | jq

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Content-Type
string
required
Must be application/json.

Body

locale
string
required
Locale preference for the account. Must be one of en, tr, or es.

Response

success
boolean
Always true on successful update.
{ "success": true }
Related: Get Account to verify changes · Authentication