# Set Default MFA Workflow
URL: /docs/api-reference/multi-factor-authentication-mfa/setDefaultMfaWorkflow

## POST `/api/v1/public/mfa/workflows/{id}/set-default`

**Summary:** Set Default MFA Workflow
**Operation ID:** `setDefaultMfaWorkflow`

Designates the specified workflow as the default policy for challenge requests.

**Authentication:** `X-Api-Key: sk_live_...` or `Authorization: Bearer sk_live_...`

### Parameters

| Name | In | Required | Description |
| :--- | :--- | :--- | :--- |
| `id` | `path` | Yes |  |

### Responses

- **`200`**: Default workflow updated

```json
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "example": "success"
    },
    "data": {
      "$ref": "#/components/schemas/MfaWorkflowDto"
    }
  }
}
```
- **`401`**: Authentication failed or API key missing