---
title: "Unsubscribe from event"
method: DELETE
path: "/hooks/{hookId}"
tags: ["RestHooks"]
---

# Unsubscribe from event

`DELETE /hooks/{hookId}`

## Request

- Base URL: `https://api.c1st.com/api`
- URL: `https://api.c1st.com/api/hooks/{hookId}`
- Auth: HTTP bearer

Unsubscribe from an event given an id for subscription.

## Path parameters

- `hookId` integer, required

## Response `200`

Ok

- object: The status of the subscription deletion.
  - `deleted` integer: Whether or not the event was deleted. 0 for failure, 1 for success.

---

[API](https://skmtc.dev/c1st/apis/customers-1st-api.md) - [All operations](https://skmtc.dev/c1st/apis/customers-1st-api/llms.txt) - [OpenAPI document](https://skmtc.dev/c1st/apis/customers-1st-api/revisions/4250bb326f2a?raw)
