Get the information required to configure google

POST /V1/tfa/provider/authy/configure

Get the information required to configure google

Body

  • tfaToken string Required
  • deviceData object Required

    Authy device data interface

    Hide deviceData attributes Show deviceData attributes object

Responses

  • 200 Success.

    Hide response attributes Show response attributes object
  • Unexpected error

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Error details

      Hide errors attributes Show errors attributes object
    • code integer

      Error code

    • parameters array[object]

      Error parameters item

      Hide parameters attributes Show parameters attributes object
    • trace string

      Stack trace

POST /V1/tfa/provider/authy/configure
curl \
 -X POST https://magento2.winkelstraat.mac/rest/all/V1/tfa/provider/authy/configure \
 -d '{"tfaToken":"string","deviceData":{"country":"string","phone_number":"string","method":"string","extension_attributes":{}}}'
Request examples
{
  "tfaToken": "string",
  "deviceData": {
    "country": "string",
    "phone_number": "string",
    "method": "string",
    "extension_attributes": {}
  }
}
Response examples (200)
{
  "message": "string",
  "expiration_seconds": "string",
  "extension_attributes": {}
}
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"
}