T
Twenty3mo ago
Teegee

Error: Delete button don't show when selecting 20k people

I want to delete all old data people but when i click to selecting all people, delete button dissapear And i have a question: How i can call API batch delete
No description
4 Replies
nogeo
nogeo3mo ago
there is no API to batch delete as far as I can see, but perhaps you can: 1. Get Many people /settings/playground/rest/core/tag/people/GET/people 2. have a script that deletes them using Delete One Person /settings/playground/rest/core/tag/people/DELETE/people/%7Bid%7D
Teegee
TeegeeOP3mo ago
Thank you @nogeo . Do you know why i dont see delete button when selecting about 20k records?
nogeo
nogeo3mo ago
not exactly sure, perhaps the Core team can help. but i can see that the Delete button stays there with ~2K records. try using additional filter to reduce the selected rows and see of you can delete them that way? @Teegee
Prastoin
Prastoin3mo ago
Hello there,
export const BACKEND_BATCH_REQUEST_MAX_COUNT = 10000;
export const BACKEND_BATCH_REQUEST_MAX_COUNT = 10000;
You can send 10_000 records maximum in a batch operation You can batch delete using the graphql api, I think this should also be do-able using the rest one

Did you find this page helpful?