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

Authorizations

Authorization
string
header
required

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

Headers

token
string
required
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
Add secret question response
tenantId
string
customerId
string
secretQuestionIds
object[]