GET /V1/tfa/providers-to-activate/:userId
GET /V1/tfa/providers-to-activate/:userId is a Magento 2 REST endpoint in the TwoFactorAuth module. Returns a list of providers to configure/enroll. Requires an admin Bearer token with ACL Magento_TwoFactorAuth::tfa.
Last verified: against Magento 2.4.9.
Returns
Magento\TwoFactorAuth\Api\ProviderInterface[]
Service contract
Magento\TwoFactorAuth\Api\TfaInterface::getProvidersToActivate
Authorization
Admin Bearer token with ACL:
- Magento_TwoFactorAuth::tfa
Path parameters
Example request
Auto-generated from the service contract — paste-ready against your store's /rest/default base. Replace the host, store code, ACL token, and any required values before running.
Headers
Path
/V1/tfa/providers-to-activate/{userId}Related in TwoFactorAuth
Other endpoints shipped by the same module.
/V1/integration/admin/token
AnonymousTwoFactorAuth · Magento\TwoFactorAuth\Api\AdminTokenServiceInterface::createAdminAccessToken
/V1/tfa/default-provider-code/:userId
Get default provider
TwoFactorAuth · Magento\TwoFactorAuth\Api\UserConfigManagerInterface::getDefaultProvider
/V1/tfa/default-provider-code/:userId
Set default provider code
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::setDefaultProviderCode
/V1/tfa/forced-providers
Retrieve forced providers list
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::getForcedProviders
/V1/tfa/installed-providers
Get a list of providers
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::getAllProviders
/V1/tfa/provider/authy/activate
AnonymousActivate the provider and get an admin token
TwoFactorAuth · Magento\TwoFactorAuth\Api\AuthyConfigureInterface::activate
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.