provider messaging_templates PATCH /api/environments/{environment_id}/messaging_templates/{id}/
@utdk/posthog /api/environments/{environment_id}/messaging_templates/{id}/
environments_messaging_templates_partial_update
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this message template.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsMessagingTemplatesPartialUpdate
PATCH/api/environments/{environment_id}/messaging_templates/{id}/

Parameters

required

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

required

A UUID string identifying this message template.

Input

Human-readable template name shown in the library.

What the template is for and when to use it.

Template content keyed by channel. Replaced as a whole on update, not merged.

Message channel of the template. Currently 'email'.

Message category ID to file the template under. Must belong to the same project.

Soft-delete flag. Set true to remove the template from the library.

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