provider organizationsprojects POST /api/organizations/{organization_id}/projects/{id}/evaluation_context_suggestions/
@utdk/posthog /api/organizations/{organization_id}/projects/{id}/evaluation_context_suggestions/
organizations_projects_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 value identifying this project.
integer
organization_id path required
ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.
string

Try it

Authentication
Configure credentials for PostHog API
organizationsProjectsEvaluationContextSuggestionsCreate
POST/api/organizations/{organization_id}/projects/{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 value identifying this project.

required

ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.

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