---
title: "SegmentCollection Update"
method: PUT
path: "/api/segmentcollection/{id}"
tags: ["SegmentCollection"]
---

# SegmentCollection Update

`PUT /api/segmentcollection/{id}`

## Request

- Base URL: `https://api.lytics.io`
- URL: `https://api.lytics.io/api/segmentcollection/{id}`
- Auth: API key in header `Authorization`

Update a SegmentCollection

## Path parameters

- `id` string, required

## Query parameters

- `account_id` string
- `sideload` boolean

## Request body

- object
  - `name` string
  - `collection` object[]
    - `id` string, required
    - `order` number, required

## Response `201`

Created

- unknown

---

[API](https://skmtc.dev/lytics/apis/v1-lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/v1-lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/v1-lytics-api/revisions/339fd1d88486?raw)
