Docs

Type a word or a question. Esc closes the search.

Sign in Start free

Get company security settings

Returns AI feature access, two-factor policy, audit-drain status and members who lack two-factor authentication.

GET https://app.upfour.io/v1/organization/security
GET https://app.upfour.io/v1/organization/security
Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs organization.read.

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key when the field is empty.

Request
Responsenot sent yet
Fill in a key and press Send request (⌘↵).
The answer appears here.
scope organization.read stable returns 200

Returns

A successful request returns 200 with application/json.

Response fields 1 top-level fields
FieldTypeDescription
data OrganizationSecuritySettings
OrganizationSecuritySettings · 12 fields
FieldTypeDescription
allow_ai_features boolean
audit_drain AuditDrainConfig
AuditDrainConfig · 2 fields
FieldTypeDescription
secret string Always empty: the secret is never returned. audit_drain_configured says whether a drain is set up.
url string
audit_drain_configured boolean
members_without_2fa MemberWithout2FA[] · nullable
Each item · 5 fields
FieldTypeDescription
email string
name string
password_set boolean false for an account that only signs in by email link; it has to add a password before it can set up an authenticator app.
role string one ofowneradminmemberviewer
user_id uuid
require_2fa boolean

Errors

Only the errors this operation can return. Every error uses the same envelope.

Status Code Meaning
400 bad_request The request is malformed or fails validation.
403 permission_denied The credentials do not permit this action.

Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.