provider property_access_controls GET /api/projects/{project_id}/property_access_controls/
@utdk/posthog /api/projects/{project_id}/property_access_controls/
property_access_controls_retrieve
Get all property access control rules for a property definition.
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
property_definition_id query required
The property definition ID to fetch access control rules for.
string

Try it

Authentication
Configure credentials for PostHog API
propertyAccessControlsRetrieve
GET/api/projects/{project_id}/property_access_controls/
Get all property access control rules for a property definition.

Parameters

required

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

required

The property definition ID to fetch access control rules for.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.propertyAccessControlsRetrieve()