provider mcp_server_installations POST /api/environments/{environment_id}/mcp_server_installations/{id}/unshare/
@utdk/posthog /api/environments/{environment_id}/mcp_server_installations/{id}/unshare/
environments_mcp_server_installations_unshare_create
De-escalate a shared installation back to personal. Allowed for the credential owner OR a project admin (the reclaim path for shared credentials). The row always stays owned by the ORIGINAL owner — an admin unsharing someone else's install must not capture their credential.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this mcp server installation.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsMcpServerInstallationsUnshareCreate
POST/api/environments/{environment_id}/mcp_server_installations/{id}/unshare/
De-escalate a shared installation back to personal. Allowed for the credential owner OR a project admin (the reclaim path for shared credentials). The row always stays owned by the ORIGINAL owner — an admin unsharing someone else's install must not capture their credential.

Parameters

required

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

required

A UUID string identifying this mcp server installation.

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