tracing

Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1).

post/api/projects/{project_id}/tracing/retention_rules/reorder/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/tracing/retention_rules/reorder/
  • Auth: none declared

Path parameters

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/.

Query parameters

limitinteger

Number of results to return per page.

offsetinteger

The initial index from which to return the results.

Request body

ordered_idsstring[] required

Rule IDs in the desired evaluation order (first element is highest priority / lowest order index).

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Changes

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