post https://api.split.io/internal/api/v2/segments//
Activate a segment in an environment to be able to set its definitions.
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
- ENVIRONMENT
To learn more about Admin API Key roles and scopes, see API keys overview.
JSON Payload Posted
empty payload
Note
This API endpoint is different than the one you used to create a segment. This endpoint url path does not contain
/ws/
.