provider property_access_controls POST /api/environments/{environment_id}/property_access_controls/
@utdk/posthog /api/environments/{environment_id}/property_access_controls/
environments_property_access_controls_create
Create or update a property access control rule.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsPropertyAccessControlsCreate
POST/api/environments/{environment_id}/property_access_controls/
Create or update a property access control rule.

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

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.environmentsPropertyAccessControlsCreate()