provider environments DELETE /api/projects/{project_id}/environments/{id}/evaluation_context_suggestions/
@utdk/posthog /api/projects/{project_id}/environments/{id}/evaluation_context_suggestions/
environments_evaluation_context_suggestions_destroy
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.
context_name query required
Name of the evaluation context to restore to suggestions.
string
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
environmentsEvaluationContextSuggestionsDestroy
DELETE/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/.

required

Name of the evaluation context to restore to suggestions.

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