---
title: "SegmentML Delete"
method: DELETE
path: "/api/segmentml/{id}"
tags: ["SegmentML"]
---

# SegmentML Delete

`DELETE /api/segmentml/{id}`

## Request

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

Delete a SegmentML model.

```sh
# Curl example of deleting a SegmentML model
curl -s -J -XDELETE "https://api.lytics.io/api/segmentml/all::smt_power" -H "Authorization: $LIOKEY"
```

## Path parameters

- `id` string, required

## Query parameters

- `account_id` string

## Response `204`

No Content

---

[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)
