0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/utils/fixtures/csv/valid-members-for-bulk-delete.csv
Kevin Ansfield bb19eddeae
Added DELETE /members/ to the Admin API for bulk member deletion (#12082)
refs https://github.com/TryGhost/Team/issues/585

- adds `DELETE /members/` route to the Admin API
- supports `?filter`, and `?search` query params to limit the members that are deleted
- `?all=true` is required if no other filter or query is provided
- uses `models.Member.bulkDestroy` which _will not_ cancel any Stripe subscriptions if members have them but _will_ clean up the Stripe relationship data in Ghost's database
2021-04-08 12:03:45 +01:00

9 lines
265 B
CSV

email,subscribed
member+free_1@example.com,true
member+free_2@example.com,true
member+free_3@example.com,true
member+free_4@example.com,true
member+free_5@example.com,true
member+free_6@example.com,true
member+free_7@example.com,true
member+free_8@example.com,true