logs

Retention rules for one record kind.

TracingRetentionRuleViewSet reuses this for span rules, which live in their own model. It swaps the queryset, the serializer and team_rules, so every read and write here goes through team_rules rather than naming a model.

delete/api/projects/{project_id}/logs/retention_rules/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/logs/retention_rules/{id}/
  • Auth: HTTP bearer

Path parameters

idstring uuid required

A UUID string identifying this logs retention rule.

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

No response body

Changes

No recorded changes to this operation across all 1 revision of this API.