unPLUGDevelopers

Members API

Delete a member

DELETE/v1/members/{id}

DELETE/v1/members/me

Deletes the member and erases their personal data. Call it from your in-app "Delete account" flow; it meets the Apple and Google rules for in-app account deletion. Deletion finishes within 30 days, usually within minutes, and a member.deleted webhook fires.

Warning Deletion can't be undone. The member's points and wallet rewards are forfeited, and their history can't be restored.

Returns 202 with no body. From then on, calls about this member return 410 member_deleted, and the guest's tokens stop working. If the same person signs up again later, create a member with the same external_id: it is a new member with a zero balance.

Permissions: {id}: secret key with members:write. me: member token.

Path parameters#

  • idstring (uuid)Required

Response fields#

Returns 202 with no body.

Error descriptions#

404Not found
member_not_found

No member with this id.

410Gone
member_deleted

Deletion was already requested.

Any endpoint can also return the common errors.