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

# Admin Force Disable 2Fa

> Admin action: force-disable 2FA for another user (e.g. lost authenticator).

Clears totp_secret + totp_enabled and removes all backup codes. Writes an
audit_log entry. Cannot target self (use /auth/2fa/disable for own account).
Gated by `change_user_password` (same permission used to reset passwords).



## OpenAPI

````yaml /openapi.json post /users/{user_id}/2fa/force-disable
openapi: 3.1.0
info:
  title: Slate API
  version: 1.0.0
  description: Trading infrastructure API.
servers:
  - url: https://api.{your-broker}.slate-labs.com
    variables:
      your-broker:
        default: broker
security: []
tags:
  - name: Authentication
  - name: API Tokens
  - name: Customers
  - name: Accounts
  - name: Orders
  - name: Instruments & Groups
  - name: Transactions
  - name: Payments
  - name: Transfers
  - name: Risk
  - name: Workflow & CRM
  - name: Messaging
  - name: Integrations
  - name: Webhooks
  - name: Compliance
  - name: Promo codes
  - name: Reporting
  - name: Audit
  - name: Fraud & moderation
  - name: Broker settings
  - name: Users
  - name: Roles & Teams
  - name: Streams (SSE)
  - name: Simulator
  - name: Observability
  - name: Prop trading
paths:
  /users/{user_id}/2fa/force-disable:
    post:
      tags:
        - Users
      summary: Admin Force Disable 2Fa
      description: >-
        Admin action: force-disable 2FA for another user (e.g. lost
        authenticator).


        Clears totp_secret + totp_enabled and removes all backup codes. Writes
        an

        audit_log entry. Cannot target self (use /auth/2fa/disable for own
        account).

        Gated by `change_user_password` (same permission used to reset
        passwords).
      operationId: admin_force_disable_2fa_users__user_id__2fa_force_disable_post
      parameters:
        - name: user_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - bearerAuth: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````