Require or relax two-step verification for admins and resellers; audited
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
PUT
/api/v1/tenants/{tid}/security/mfa-policyRequire or relax two-step verification for admins and resellers; audited
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
requiredboolean requiredAdmins and resellers must use two-step verification
Example
{
"required": true
}