POST
/
resetCredential
curl --request POST \
  --url https://gateway.cyrexa.com/customer/1.0.0/resetCredential \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "credential": {
    "credentialType": "email",
    "value": "<string>",
    "code": "<string>",
    "communicationChannel": {
      "name": "<string>",
      "type": "phone",
      "addressUrl": "<string>"
    }
  }
}'
{
  "message": "<string>",
  "code": 123
}

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

Body

application/json
credential
object

Response

200
application/json
Reset credentials response
message
string
code
integer