provider file_system_shortcut POST /api/environments/{environment_id}/file_system_shortcut/
@utdk/posthog /api/environments/{environment_id}/file_system_shortcut/
environments_file_system_shortcut_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsFileSystemShortcutCreate
POST/api/environments/{environment_id}/file_system_shortcut/

Parameters

required

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

Input

required
required

Display path of the shortcut in the sidebar.

Type of the linked item (e.g. 'folder', 'insight'), or blank.

Reference to the linked item, scoped to its type. Null for href-only shortcuts.

Destination URL the shortcut opens. Null when the shortcut points at an item by ref.

Display order within the user's shortcut list, ascending.

required
required

Resolved access level the user has for the object this entry references ('none' means the user can't open it). Null when access controls don't apply to the entry type.

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