Constraints
Create Constraint
POST
/
api
/
v1
/
namespaces
/
{namespaceKey}
/
segments
/
{segmentKey}
/
constraints
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
namespaceKey
string
requiredsegmentKey
string
requiredBody
application/json
type
enum<string>
requiredThe default is UNKNOWN_COMPARISON_TYPE
Available options:
UNKNOWN_COMPARISON_TYPE
, STRING_COMPARISON_TYPE
, NUMBER_COMPARISON_TYPE
, BOOLEAN_COMPARISON_TYPE
, DATETIME_COMPARISON_TYPE
property
string
requiredoperator
string
requiredvalue
string
description
string
Response
200 - application/json
id
string
requirednamespaceKey
string
requiredsegmentKey
string
requiredtype
enum<string>
requiredThe default is UNKNOWN_COMPARISON_TYPE
Available options:
UNKNOWN_COMPARISON_TYPE
, STRING_COMPARISON_TYPE
, NUMBER_COMPARISON_TYPE
, BOOLEAN_COMPARISON_TYPE
, DATETIME_COMPARISON_TYPE
property
string
requiredoperator
string
requiredvalue
string
requireddescription
string
requiredcreatedAt
string
requiredupdatedAt
string
requiredWas this page helpful?