AlphaAlpha Docs
API ReferenceTwo factor authentication

Respond to approval

Approve or deny a login approval request

POST
/auth/2fa/approval/{id}/respond
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

[key: string]?boolean

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/auth/2fa/approval/string/respond" \  -H "Content-Type: application/json" \  -d '{    "property1": true,    "property2": true  }'
{
  "property1": true,
  "property2": true
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}