Skip to content

Commit

Permalink
Update posthog/api/person.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Matloka <[email protected]>
  • Loading branch information
timgl and Twixes authored Sep 5, 2024
1 parent 1488428 commit eb5df07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/api/person.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def destroy(self, request: request.Request, pk=None, **kwargs):
@action(methods=["POST"], detail=False, required_scopes=["person:write"])
def bulk_delete(self, request: request.Request, pk=None, **kwargs):
"""
This endpoint allows you to bulk delete persons, either by the PostHog persons ID or by distinct IDs. You can pass through a maximum of 100 ids per call.
This endpoint allows you to bulk delete persons, either by the PostHog person IDs or by distinct IDs. You can pass in a maximum of 100 IDs per call.
"""
if request.data.get("distinct_ids"):
if len(request.data["distinct_ids"]) > 100:
Expand Down

0 comments on commit eb5df07

Please sign in to comment.