---
title: "Delete event from a site installation."
method: DELETE
path: "/v1/sites/{id}/activity/events/{event_id}"
tags: ["Activity"]
---

# Delete event from a site installation.

`DELETE /v1/sites/{id}/activity/events/{event_id}`

For a given site, deletes event with given id.

## Path parameters

- `id` integer, required — ID of the Site you are interacting with
- `event_id` string, required

## Response `200`

OK

- EventResponse
  - `success` boolean — whether the request succeeded
  - `errors` string[]
  - `messages` string[], nullable
  - `result` Event
    - `id` string
    - `author` string
    - `site_id` integer
    - `display_name` string
    - `user_login` string
    - `user_email` string
    - `roles` string
    - `ip` string
    - `type` string
    - `label` string
    - `action` string
    - `description` string
    - `created_at` string

## Other responses

- `400` — Bad Request
- `401` — Authentication failed
- `403` — Not authorized to access endpoint
- `404` — Given site not found for user
- `405` — Invalid input
- `500` — Internal error

---

[API](https://skmtc.net/rocket/apis/rocket-net-api.md) · [All operations](https://skmtc.net/rocket/apis/rocket-net-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rocket/rocket-net-api/revisions/db0dcbbc5764/schema)
