メインコンテンツへスキップ
POST
Create a segment for the Experiment Center.

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ボディ

Create a segment for experiment targeting

name
string
必須

A human-readable name for the segment

Required string length: 3 - 255
Pattern: ^(?!.*\x00)\S(.*\S)?$
rules
object[]
必須

An ordered list of rules. A segment matches if any rule matches.

Minimum array length: 1
description
string

A description of the segment

Required string length: 3 - 1024
Pattern: ^(?!.*\x00)\S(.*\S)?$

レスポンス

Segment successfully created.

id
string
必須
Pattern: ^seg_[A-HJ-NP-Za-km-z1-9]+$
name
string
必須
type
enum<string>
必須
利用可能なオプション:
self,
auth0
rules
object[]
必須
created_at
string<date-time>
必須
updated_at
string<date-time>
必須
description
string