put
https://api.split.io/internal/api/v2/segments///removeKeys
Delete a list of segment keys via JSON from an existing segment. This endpoint requires a JSON body with a keys array to delete from the specified segment and FME environment.
Access requirements
The Authorization Bearer (Admin API Key authorizing the request) must have one of the following roles and scopes:
Admin API Key roles accepted
- API_ALL_GRANTED
- API_SEGMENT_EDITOR
Admin API Key scopes accepted
- GLOBAL
- WORKSPACE
- ENVIRONMENT
To learn more about Admin API Key roles and scopes, see API keys overview.
Request format
{"keys":["id1", "id2", "id3"]}