delete https://api.split.io/internal/api/v2/segments/ws//
Delete a segment from your account. This automatically unconfigures the segment definition from all environments.
The Authorization Bearer (Admin API Key authorizing the request) must have one of the following roles and scopes:
- API_ALL_GRANTED
- API_SEGMENT_EDITOR
- GLOBAL
- WORKSPACE
To learn more about Admin API Key roles and scopes, see API keys overview.
JSON Payload Posted
{
"name": String, // Mandatory
"description": String // Optional
}