cURL
curl --request POST \ --url https://gateway.varchev.com/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>" } ] }
The access token received from the authorization server in the OAuth 2.0 flow.
Tenant/Owner id
Customer id
The body is of type object[].
object[]
Add secret question response
The response is of type object.
object