Skip to main content
PATCH
Update a segment
Partially update a segment. Requires the audience:write scope and is blocked for sandbox API keys.

Authorizations

Authorization
string
header
required

API key for authentication

Path Parameters

segmentId
string<uuid>
required

Segment ID

Body

application/json

Update a segment. All fields are optional.

name
string
Maximum string length: 255
list_id
string<uuid> | null
conditions
object

Response

Updated

message
string
required
Example:

"Segment retrieved successfully."

data
object
required