login(); $api->deleteMembership( $member->nami_id, $api->membership($member->nami_id, $membership->nami_id) ); $membership->delete(); $member->syncVersion(); return redirect()->back(); } }