Skip to main content
PUT
Update a segment

Authorizations

Authorization
string
header
required

A personal API token from the platform's settings page, or an OAuth access token.

Path Parameters

id
integer
required

Segment id.

Body

application/json
title
string

Segment title.

Maximum string length: 70
description
string | null

Segment description.

targets
Targets · object

Filters that define who is in it, one list per type. Rejected only when all seven lists are sent and every one is empty.

Response

OK: The updated segment.

results
object
required

The segment. Other columns of the segment record may also be present.

success
enum<boolean>
required

Always true on success.

Available options:
true