---
title: "Remove event"
method: DELETE
path: "/_fabric/{fabric}/_api/events"
tags: ["Administration"]
---

# Remove event

`DELETE /_fabric/{fabric}/_api/events`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_fabric/:fabric/_api/events/delete.ts> (a function with typed inputs; its response is checked against the schema)

Remove one or more events by _id.

## Path parameters

- `fabric` string, string, required

## Request body

- unknown

## Response `201`

Successfully removed events.

- object[]: Array of delted events information.
  - `_id` string: ID of the event.
  - `_key` string: _key details of event.
  - `_rev` string: _rev details of event.

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `401`: Failed because you do not have administrator permissions.
- `403`: Failed to validate because you do not have access to the server.
- `404`: Failed to find specified fabric.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
