Segments
Create, update, delete, and manage segments.
📄️ Validates if a segment name exists
Uses the name provided in the body of the request to validate if the given name exists or not
📄️ Get strategy segments
Retrieve all segments that are referenced by the specified strategy. Returns an empty list of segments if the strategy ID doesn't exist.
📄️ Get strategies that reference segment
Retrieve all strategies that reference the specified segment.
📄️ Deletes a segment by id
Deletes a segment by its id, if not found returns a 409 error
📄️ Update segment by id
Updates the content of the segment with the provided payload. Requires `name` and `constraints` to be present. If `project` is not present, it will be set to `null`. Any other fields not specified will be left untouched.
📄️ Get a segment
Retrieves a segment based on its ID.
📄️ Create a new segment
Creates a new segment using the payload provided
📄️ Get all segments
Retrieves all segments that exist in this Unleash instance.