Deletes the currently authenticated member

The member can no longer be authenticated after this endpoint has been successfully called.

The member is also marked to be deleted by Vista Loyalty in a configured scheduled task. The member is completely cleared after 24 hours.

Licenses Required

  • Vista.Ocapi
Request
header Parameters
Connect-Region-Code
string

Region Code

Request Body schema:
required

Details required to delete the member

One of:

Represents the values needed to securely delete a member that has been externally authenticated

type
required
string (MemberSecureActionValidationType)

Represents the validation type required for a secure member action

Enum: "ValidatePassword" "None"
Responses
204

Member deleted.

400

Request property is invalid or missing, password validation failed, or member cannot be deleted.

401

No member authenticated.

delete/ocapi/v1/members/current
Request samples
{
  • "type": "ValidatePassword"
}