formo segments command group lets you manage user segments. Segments are saved audience filter sets that you can use throughout the Formo platform.
formo segments list
List all user segments for the project.
Requires
segments:read scope on your API key.formo segments create
Create a new user segment.
Requires
segments:write scope on your API key.Options
| Option | Type | Required | Description |
|---|---|---|---|
--title | string | ✅ | Segment title |
--filterSets | string | ✅ | JSON array of filter set strings defining the segment |
Examples
formo segments delete
Delete a user segment.
Requires
segments:write scope on your API key.Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
segmentId | string | ✅ | Segment ID to delete |