> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Segment Keys From Environment

Delete a list of segment keys via JSON from an existing segment.

## Parameters

<div className="integrations-table">
  | Parameter    | Description                                                   |
  | ------------ | ------------------------------------------------------------- |
  | Comment      | A comment to add to the identifier removal action.            |
  | Environment  | The id of the environment from which to delete segment keys.  |
  | Identifiers  | A comma-separated list of identifiers to delete from segment. |
  | Segment Name | The name of the segment from which to delete keys.            |
  | Workspace    | The id of the workspace in which the environment resides.     |
</div>

## Example Output

```json theme={"dark"}
{
	"code": 200,
	"message": "Deleted 2 keys",
	"details": null,
	"transactionId": null
}
```

## Workflow Library Example

[Remove Segment Keys from Environment with Split and Send Results Via Email](https://library.blinkops.com/workflows/remove-segment-keys-from-environment-with-split-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/remove-segment-keys-from-environment-with-split-and-send-results-via-email/canvas" />
</div>
