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>
requiredAvailable options:
UNKNOWN_COMPARISON_TYPE
, STRING_COMPARISON_TYPE
, NUMBER_COMPARISON_TYPE
, BOOLEAN_COMPARISON_TYPE
, DATETIME_COMPARISON_TYPE
, ENTITY_ID_COMPARISON_TYPE
property
string
requiredoperator
string
requiredsegmentKey
string
value
string
namespaceKey
string
description
string
Response
200 - application/json
id
string
segmentKey
string
type
enum<string>
Available options:
UNKNOWN_COMPARISON_TYPE
, STRING_COMPARISON_TYPE
, NUMBER_COMPARISON_TYPE
, BOOLEAN_COMPARISON_TYPE
, DATETIME_COMPARISON_TYPE
, ENTITY_ID_COMPARISON_TYPE
property
string
operator
string
value
string
createdAt
string
updatedAt
string
namespaceKey
string
description
string
Was this page helpful?