POST
/
addSecretQuestion
/
{customerId}
curl --request POST \
  --url https://gateway.finhub.cloud/customer/2.0.0/addSecretQuestion/{customerId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '[
  {
    "question": "<string>",
    "answer": "<string>"
  }
]'
{
  "tenantId": "<string>",
  "customerId": "<string>",
  "secretQuestionIds": [
    {
      "secretQuestionId": "<string>"
    }
  ]
}

Two-Factor Authentication (2FA)

These API endpoints allow for the management of Two-Factor Authentication settings and verification processes for customer accounts, enhancing security.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Path Parameters

customerId
string
required

Customer id

Body

application/json · object[]

The body is of type object[].

Response

200
application/json

Add secret question response

The response is of type object.