provider organizationsroles POST /api/organizations/{organization_id}/roles/{role_id}/role_memberships/
@utdk/posthog /api/organizations/{organization_id}/roles/{role_id}/role_memberships/
roles_role_memberships_create
organization_id path required
ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.
string
role_id path required
string

Try it

Authentication
Configure credentials for PostHog API
rolesRoleMembershipsCreate
POST/api/organizations/{organization_id}/roles/{role_id}/role_memberships/

Parameters

required

ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.

required

Input

required
required
required
required
required
required
required

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