provider property_access_controls POST /api/projects/{project_id}/property_access_controls/
@utdk/posthog /api/projects/{project_id}/property_access_controls/
property_access_controls_create
Create or update a property access control rule.
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

Try it

Authentication
Configure credentials for PostHog API
propertyAccessControlsCreate
POST/api/projects/{project_id}/property_access_controls/
Create or update a property access control rule.

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

Input

required

The property definition ID this rule applies to.

required

The access level to set for this rule. * `read_write` - read_write * `read` - read * `none` - none

The organization member UUID to set an override for.

The role UUID to set an override 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.propertyAccessControlsCreate()