Replace segmentation rule file
Replaces the file content of an existing segmentation rule, preserving its id and uid. Requires an internal role (ADMIN or PROJECT_MANAGER) with the setupServer access right.
Authorizations
Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
Headers
must match pattern ((inline|attachment); )?filename\*=UTF-8''(.+)
Path Parameters
Unique identifier of the segmentation rule
Body
streamed file
The body is of type object.
Response
OK
segmentation rule object
Name of the uploaded segmentation rule file
255Name of the segmentation rule
255Date and time when the segmentation rule was created
Internal numeric identifier, encoded as a string
Language code derived from the locale
Locale code of the segmentation rule; normalized when read
When true, this rule is the primary segmentation rule for its locale in the organization
Unique identifier used in API paths