PUT
/
api
/
v1
/
namespaces
/
{namespaceKey}
/
segments
/
{segmentKey}
/
constraints
/
{id}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

namespaceKey
string
required
segmentKey
string
required
id
string
required

Body

application/json
type
enum<string>
required
Available options:
UNKNOWN_COMPARISON_TYPE,
STRING_COMPARISON_TYPE,
NUMBER_COMPARISON_TYPE,
BOOLEAN_COMPARISON_TYPE,
DATETIME_COMPARISON_TYPE,
ENTITY_ID_COMPARISON_TYPE
property
string
required
operator
string
required
id
string
segmentKey
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