Account

Leave this family

For caregivers who aren't the admin: deletes your own login, your API tokens and consent records; the family's log stays. Requires your password. The admin gets 403 admin_cannot_leave.

post/api/vega/account/leave

Request

  • Base URL: https://getmyluna.app
  • URL: https://getmyluna.app/api/vega/account/leave
  • Auth: one of:
    • HTTP bearer
    • API key in cookie luna_session

Request body

passwordstring required

Your current password, re-entered.

Response

Success

okboolean
redirectstring required

Example response

{
  "redirect": "/goodbye?done=deleted"
}

Changes

No recorded changes to this operation across all 1 revision of this API.