Home / Servers / Vercel API / delete_flag_segment
Delete a segment
An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.
Delete a segment Delete a feature flag segment. [DELETE /v1/projects/{projectIdOrName}/feature-flags/segments/{segmentIdOrSlug}]
Name on the gateway: vercel_api__delete_flag_segment · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
projectIdOrName required | string | The project id or name |
segmentIdOrSlug required | string | The segment slug |
withMetadata | boolean | Whether to include metadata |
teamId | string | The Team identifier to perform the request on behalf of. |
slug | string | The Team slug to perform the request on behalf of. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "vercel_api__delete_flag_segment",
"arguments": {
"projectIdOrName": "…",
"segmentIdOrSlug": "…"
}
}Or connect the Vercel API server directly, which lists 472 tools including this one:
claude mcp add --transport http hj-vercel-api https://mcp.hjlabs.in/mcp/vercel-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the delete a segment tool with projectIdOrName set to ….