provider environments POST /api/projects/{project_id}/environments/{id}/evaluation_context_suggestions/
@utdk/posthog /api/projects/{project_id}/environments/{id}/evaluation_context_suggestions/
environments_evaluation_context_suggestions_create
Hide an evaluation context name from the flag editor's suggestion list, or restore it. POST hides the name; DELETE restores it. The underlying context row and any flags already using it are never modified — this only controls what gets suggested.
id path required
A unique integer value identifying this environment (aka team).
integer
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsEvaluationContextSuggestionsCreate
POST/api/projects/{project_id}/environments/{id}/evaluation_context_suggestions/
Hide an evaluation context name from the flag editor's suggestion list, or restore it. POST hides the name; DELETE restores it. The underlying context row and any flags already using it are never modified — this only controls what gets suggested.

Parameters

required

A unique integer value identifying this environment (aka team).

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Input

required

Name of the evaluation context to hide from (POST) or restore to (DELETE) the flag editor's suggestion list. Case-insensitive and whitespace-trimmed.

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