Duplicate a segment

Creates a duplicate of the segment under a new name. The duplicate list selects what is copied and must always include resource (the segment's own fields). Adding categories also copies the segment's category associations. Requesting an entity the segment has nothing to duplicate for returns a validation error — call GET on this endpoint first to see which entities are available.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The unique ID of the segment

Body Params
integer | null

The advertiser to assign to the duplicate, if any.

string
required
length ≤ 255

The name of the segment

duplicate
array of objects
required

The list of strings that describes a set of entities to be duplicated.

duplicate*
Allowed:
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

400

Validation error or invalid parameters.

401

Authentication credentials were not provided.

403

Permission denied.

404

Segment not found.

Language
Credentials
:
URL
LoadingLoading…
Response
Choose an example:
application/json