---
title: "Validates the login for the given MFA methods. Upon successful validation, it returns an auth response containing the client token"
method: POST
path: "/sys/mfa/validate"
tags: ["system"]
---

# Validates the login for the given MFA methods. Upon successful validation, it returns an auth response containing the client token

`POST /sys/mfa/validate`

## Request body

- SystemMfaValidateRequest
  - `mfa_payload` object, required — A map from MFA method ID to a slice of passcodes or an empty slice if the method does not use passcodes
  - `mfa_request_id` string, required — ID for this MFA request

## Response `200`

OK

---

[API](https://skmtc.net/lensesio/apis/hashicorp-vault-api.md) · [All operations](https://skmtc.net/lensesio/apis/hashicorp-vault-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lensesio/hashicorp-vault-api/versions/bd8194de0697/schema)
