Check if BankID is the sole login method

Check if BankID is the only available login method for your account. This is important for ensuring correct handling of account-related settings. The response includes an ID for tracking specific actions in other API calls.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/account/bankid-only
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/account/bankid-only" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "bankidOnly": true
  }
}