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.