Leave
Closes an active membership by setting leftAt.
Most "leaves" happen automatically: removing a person tag that is listed in tag_tier_filter triggers a leave via the tag hook. This endpoint covers manual or programmatic leaves (admin opt-out, account closure, special workflow).
Idempotent:
- No row, or row already has
leftAt→ no-op. - Active row → UPDATE sets
leftAt, historyleft.
The membership row is kept (not deleted) so the historical timeline remains queryable.
Try-it values populated from environment ACME (Demo)
Authentication
Token
Send your user token in the x-guper-authorization header.
Headers
Path parameters
Request body
Content-Type:
application/json
Responses
Copied to clipboard