provider file_system_shortcut PUT /api/environments/{environment_id}/file_system_shortcut/{id}/
@utdk/posthog /api/environments/{environment_id}/file_system_shortcut/{id}/
environments_file_system_shortcut_update
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this file system shortcut.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsFileSystemShortcutUpdate
PUT/api/environments/{environment_id}/file_system_shortcut/{id}/

Parameters

required

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

required

A UUID string identifying this file system shortcut.

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