provider organizationsroles POST /api/organizations/{organization_id}/roles/
@utdk/posthog /api/organizations/{organization_id}/roles/
roles_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

Try it

Authentication
Configure credentials for PostHog API
rolesCreate
POST/api/organizations/{organization_id}/roles/

Parameters

required

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

Input

required
required
required
required
required

Members assigned to this role

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