Returns a list of providers to configure/enroll
GET
/V1/tfa/providers-to-activate/{userId}
curl \
--request GET 'https://magento2.winkelstraat.mac/rest/all/V1/tfa/providers-to-activate/{userId}'
Response examples (200)
[
{
"enabled": true,
"engine": {
"enabled": true
},
"code": "string",
"name": "string",
"icon": "string",
"reset_allowed": true,
"configure_action": "string",
"auth_action": "string",
"extra_actions": [
"string"
]
}
]
Response examples (200)
<?xml version="1.0" encoding="UTF-8"?>
<root type="array">
<root>
<enabled type="boolean">true</enabled>
<engine>
<enabled type="boolean">true</enabled>
</engine>
<code>string</code>
<name>string</name>
<icon>string</icon>
<reset-allowed type="boolean">true</reset-allowed>
<configure-action>string</configure-action>
<auth-action>string</auth-action>
<extra-actions type="array">
<extra-action>string</extra-action>
</extra-actions>
</root>
</root>
Response examples (401)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (401)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>