Skip to main content
GET
/
api
/
workspace
/
{workspaceId}
/
security
Get security settings
curl --request GET \
  --url https://app.alana.shopping/api/workspace/{workspaceId}/security \
  --header 'Authorization: Bearer <token>'
{
  "enforce_2fa": true,
  "session_timeout_minutes": 60,
  "password_min_length": 12,
  "require_special_chars": true,
  "ip_whitelist": [
    "203.0.113.0/24"
  ]
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>

Path Parameters

workspaceId
string
required

The workspace ID

Response

Security settings retrieved successfully

enforce_2fa
boolean

Require 2FA for all members

session_timeout_minutes
integer

Session timeout in minutes

Required range: 5 <= x <= 1440
password_min_length
integer

Minimum password length

Required range: x >= 8
require_special_chars
boolean

Require special characters in passwords

ip_whitelist
string[]

List of whitelisted IP addresses