Skip to main content
PUT
Change a segment

Authorizations

Authorization
string
header
required

An API token. The "read" ability: GET routes only. "read + write": every route.

Headers

Idempotency-Key
string

Replay a write safely: the same key gives back the first answer for 24 hours (header Idempotent-Replay: true).

Maximum string length: 255

Path Parameters

segment
string<uuid>
required

The segment's identifier (uuid).

Body

application/json
name
string
conditions
object

A group of rules; a group may hold another one, two levels deep at most, 50 rules at most.

Example:

Response

The segment, changed.

data
object