POST
/
addSecretQuestion
/
{customerId}
curl --request POST \
  --url https://gateway.finhub.cloud/customer/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>"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

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[]
question
string
answer
string

Response

200 - application/json
tenantId
string
customerId
string
secretQuestionIds
object[]