Skip to main content
PUT
Replace segmentation rule file

Authorizations

Authorization
string
header
required

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

Content-Disposition
string
required

must match pattern ((inline|attachment); )?filename\*=UTF-8''(.+)

Path Parameters

segRuleUid
integer<int64>
required

Unique identifier of the segmentation rule

Body

application/octet-stream

streamed file

The body is of type object.

Response

OK

segmentation rule object

filename
string
required

Name of the uploaded segmentation rule file

Maximum string length: 255
name
string
required

Name of the segmentation rule

Maximum string length: 255
createdBy
object
dateCreated
string<date-time>
read-only

Date and time when the segmentation rule was created

id
string
read-only

Internal numeric identifier, encoded as a string

language
string

Language code derived from the locale

locale
string

Locale code of the segmentation rule; normalized when read

primary
boolean

When true, this rule is the primary segmentation rule for its locale in the organization

uid
string
read-only

Unique identifier used in API paths