Get and update account settings and preferences

Retrieve your current account settings and preferences, such as language, timezone, and notification settings. This endpoint also returns an ID needed for subsequent API calls to manage specific services or cases.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/account/preferences
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/account/preferences" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "preferences": {
      "id": 0,
      "client_id": 0,
      "bankid_only_login": true,
      "two_factor_enabled": true,
      "email_notifications": true,
      "sms_notifications": true,
      "language": "string",
      "timezone": "string",
      "created_at": "string",
      "updated_at": "string"
    }
  }
}