0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/web/api
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
..
canary Added DELETE /members/ to the Admin API for bulk member deletion (#12082) 2021-04-08 12:03:45 +01:00
middleware Moved definition of default max image width to config (#12289) 2020-10-19 08:56:18 +01:00
testmode Migrated jobs to use parentPort.postMessage 2021-02-22 20:02:00 +13:00
v2 Updated stability index comments around Admin API v2 endpoints 2020-08-03 23:46:23 +12:00
v3 Enabled Members for all sites (#12582) 2021-02-02 16:12:53 +00:00
app.js Added missing v4 API endpoints mount 2021-03-03 18:44:00 +13:00
index.js