{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pricklymails-com/json-schema/pricklymails-com-disable2-farequest-schema.json",
  "title": "Disable2FARequest",
  "description": "Request body for `POST /api/users/me/2fa/disable`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pricklymails-com-account-api-openapi.yml#/components/schemas/Disable2FARequest",
  "type": "object",
  "required": [
    "password",
    "code"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "A valid TOTP code or backup code, proving possession of the second factor."
    },
    "password": {
      "type": "string",
      "description": "The user's password for confirmation."
    }
  }
}