> ## Documentation Index
> Fetch the complete documentation index at: https://docs.igrisecurity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get organization security settings

> Returns whether the organization requires two-factor authentication, whether its plan allows switching the requirement on (plans with MFA, Growth and up), and how many members have not enrolled in 2FA.

**Required permission:** any member of the organization.




## OpenAPI

````yaml /api-reference/openapi.yaml get /api/v1/org-security
openapi: 3.1.0
info:
  title: Igris Management API
  version: '1'
  description: >-
    REST API for managing Igris connections, policies, sessions, audit events
    and alerts.
servers:
  - url: https://api.igrisecurity.com
security:
  - bearerAuth: []
tags:
  - name: Connections
  - name: Policies
  - name: Sessions
  - name: Audit Events
  - name: Incidents
  - name: Webhooks
  - name: API Keys
  - name: Members
  - name: Security
  - name: LLM Providers
  - name: LLM Cost
  - name: Observe
paths:
  /api/v1/org-security:
    get:
      tags:
        - Security
      summary: Get organization security settings
      description: >
        Returns whether the organization requires two-factor authentication,
        whether its plan allows switching the requirement on (plans with MFA,
        Growth and up), and how many members have not enrolled in 2FA.


        **Required permission:** any member of the organization.
      operationId: getOrgSecurity
      responses:
        '200':
          description: The security settings.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      requireTwoFactor:
                        type: boolean
                        description: Members must use two-factor authentication.
                      planAllows:
                        type: boolean
                        description: The plan includes MFA
                        so the requirement can be switched on.: null
                      membersWithoutTwoFactor:
                        type: integer
                        description: Members who have not enrolled in 2FA.
              example:
                data:
                  requireTwoFactor: false
                  planAllows: true
                  membersWithoutTwoFactor: 3
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: >
            The organization requires two-factor authentication and you have not
            enrolled (`two_factor_required_by_org`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: two_factor_required_by_org
                message: >-
                  Your organization requires two-factor authentication. Set it
                  up to continue.
components:
  responses:
    Unauthorized:
      description: No valid session or API key, or the key's creator is no longer a member.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthorized
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: ig_...
      description: >-
        An Igris API key. It acts with the current role and permission overrides
        of the member who created it.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.