---
title: "Remove Segments from Location Live Event"
description: "How to call Remove Segments from Location Live Event (DELETE /api/location-live-events/{id}/relationships/segments) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/reference/remove_segments_from_location_live_event_beta"
revision: "2026-10-15.pre"
operationId: "remove_segments_from_location_live_event_beta"
aliases: ["delete_location_live_event_relationships_segments"]
method: "DELETE"
endpoint: "https://a.klaviyo.com/api/location-live-events/{id}/relationships/segments"
authentication: "privateKey"
scopes: ["locations:write","segments:write"]
rateLimits: {"burst":"3/s","steady":"60/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
preRelease: "BETA"
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/remove_segments_from_location_live_event_beta.json"
related: ["https://developers.klaviyo.com/en/reference/location-hub-beta/llms.txt","https://developers.klaviyo.com/en/reference/get_location_live_events_beta.md","https://developers.klaviyo.com/en/reference/get_location_live_event_beta.md","https://developers.klaviyo.com/en/reference/create_location_live_event_beta.md","https://developers.klaviyo.com/en/reference/update_location_live_event_beta.md","https://developers.klaviyo.com/en/reference/delete_location_live_event_beta.md","https://developers.klaviyo.com/en/reference/get_segment_ids_for_location_live_event_beta.md","https://developers.klaviyo.com/en/reference/add_segments_to_location_live_event_beta.md","https://developers.klaviyo.com/en/reference/get_segments_for_location_live_event_beta.md"]
---

# Remove Segments from Location Live Event

> This is the Markdown version of https://developers.klaviyo.com/en/reference/remove_segments_from_location_live_event_beta

```http
DELETE https://a.klaviyo.com/api/location-live-events/{id}/relationships/segments
```


> [!WARNING]
> **This endpoint is in beta and subject to change.**
> A beta revision header (2026-10-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy.md) for more information.


Unlink segments from a live event.

The segments themselves are not deleted; they stop targeting this event. Ids that aren't linked are ignored, so sending the same request twice changes nothing.

- Revision header: `revision: 2026-10-15.pre` (required)
- Scopes: `locations:write`, `segments:write`
- Rate limits: Burst: `3/s`, Steady: `60/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/remove_segments_from_location_live_event_beta.json)

## Example request

### curl

```bash
curl --request DELETE \
     --url 'https://a.klaviyo.com/api/location-live-events/id/relationships/segments' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-10-15.pre' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": [
    {
      "type": "segment",
      "id": "01HQ8V5X9K2M4N6P8R0T2W4Y6A"
    }
  ]
}'
```

### CLI

```bash
klaviyo beta location-hub remove-segments-from-location-live-event id \
  -d '{
  "data": [
    {
      "type": "segment",
      "id": "01HQ8V5X9K2M4N6P8R0T2W4Y6A"
    }
  ]
}'
```

Sign in first with `klaviyo auth login`. [Install the Klaviyo CLI](https://developers.klaviyo.com/en/docs/klaviyo_cli.md)

## Path parameters

- `id` (string, required)

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-10-15.pre`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object[], required)
  - `type` (string, required): Allowed values: `segment`
  - `id` (string, required): Identifier of the segment. Example: `01HQ8V5X9K2M4N6P8R0T2W4Y6A`

### Example request body

```json
{
  "data": [
    {
      "type": "segment",
      "id": "01HQ8V5X9K2M4N6P8R0T2W4Y6A"
    }
  ]
}
```

## Responses

### 204: Success

This response has no body.

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
