---
title: "Delete an existing macro"
method: DELETE
path: "/macros/{id}"
tags: ["macros"]
---

# Delete an existing macro

`DELETE /macros/{id}`

Permanently deletes a macro by ID.

**Rate limit:** 120 requests per minute

## Path parameters

- `id` string, required

## Response `200`

- DeleteMacroResponseBody
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `403` — The authenticated caller or organization is not allowed to access this endpoint or operation.
- `404`
- `500` — An unexpected internal error occurred.

## Changes

> 22 revisions in range; 8 could not be searched.

- **2026-08-05** `7b6ea6af992a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usepylon/apis/pylon-api/changes/macros/:id/delete.md)

---

[API](https://skmtc.dev/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.dev/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usepylon/pylon-api/revisions/7b12ab92de27/schema)
