Change your account language settings

Change the language used for communication and the interface. Use this if you prefer to interact in a language other than the default. The endpoint returns a requestId for follow-up calls.

Headers

Accept Example
Content-Type Example

Body

required
application/json
language string · enum required
en
sv

Responses

200
success boolean
timestamp string
requestId string
data object
401
error string
message string
code string
timestamp string
requestId string
429
error string
message string
retryAfter string
requestId string
POST https://cloud.hostup.se/api/account/language
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/account/language" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "language": "en"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "message": "string",
    "language": "string"
  }
}
Request Body
{
  "language": "en"
}