Enable BankID as the sole login method for your account. After enabling, you will only be able to log in with BankID. This is a sensitive operation and the endpoint returns a `requestId` for follow-up actions.
Accept Example Content-Type Example enabled boolean required success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string requiresBankIdVerification boolean https://cloud.hostup.se/api/account/bankid-only curl -X POST "https://cloud.hostup.se/api/account/bankid-only" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"enabled": true
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"bankidOnly": true,
"message": "string"
}
} {
"enabled": true
}