tenants

Get Workspace Sign-in Settings

The workspace's sign-in settings: what it has stored (null = inherit), the effective values its sign-ins use, where each came from (workspace, instance or default), and the range each may be set to. The Public workspace (where a blank-code sign-in lands) always uses the instance's settings: editable is false and nothing is stored.

get/tenants/{id}/auth-settings

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/tenants/{id}/auth-settings
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Path parameters

idstring required

tenant id

Response

OK

successboolean

Example response

{
  "data": {
    "effective": {
      "access_ttl_sec": 3600,
      "email_otp_length": 6,
      "email_otp_ttl_sec": 600,
      "max_sessions": 10,
      "otp_max_attempts": 5,
      "refresh_ttl_sec": 2592000
    },
    "stored": {
      "access_ttl_sec": 3600,
      "email_otp_length": 6,
      "email_otp_ttl_sec": 600,
      "max_sessions": 10,
      "otp_max_attempts": 5,
      "refresh_ttl_sec": 2592000
    }
  },
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.