From e4c2e8807d70ddcea0e190e5e942cb46c01031ba Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Mon, 4 Apr 2022 11:44:37 +0200 Subject: [PATCH] docs: segment names don't need to be url-friendly. --- website/docs/api/admin/segments.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/docs/api/admin/segments.mdx b/website/docs/api/admin/segments.mdx index 4dff889ca7..771ed03afd 100644 --- a/website/docs/api/admin/segments.mdx +++ b/website/docs/api/admin/segments.mdx @@ -73,11 +73,11 @@ A segment with the provided name already exists. Use a JSON object with the following properties to create a new segment. -| Property | Type | Required | Description | Example value | -|---------------|--------------------------------------------|----------|------------------------------------------------|--------------------------------------------------| -| `name` | string | Yes | The name of the segment. Must be URL friendly. | `"mobile-users"` | -| `description` | string | No | A description of the segment. | `"This segment is for users on mobile devices."` | -| `constraints` | list of [constraint objects](#iconstraint) | Yes | The constraints in this segment. | `[]` | +| Property | Type | Required | Description | Example value | +|---------------|--------------------------------------------|----------|----------------------------------|--------------------------------------------------| +| `name` | string | Yes | The name of the segment. | `"mobile-users"` | +| `description` | string | No | A description of the segment. | `"This segment is for users on mobile devices."` | +| `constraints` | list of [constraint objects](#iconstraint) | Yes | The constraints in this segment. | `[]` | ## Get segment by ID