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.
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/account/preferences curl -X GET "https://cloud.hostup.se/api/account/preferences" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"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"
}
}
}