---
title: "Delete Custom Event Schema"
method: DELETE
path: "/management/v1/projects/{projectId}/custom-event-schemas/{customEventSchemaId}"
tags: ["Management"]
---

# Delete Custom Event Schema

`DELETE /management/v1/projects/{projectId}/custom-event-schemas/{customEventSchemaId}`

Deletes permanently the custom event schema with its custom properties (metadata).

> 📘 Custom Event Documentation
>
> Read [Custom Events](/prepare/custom-events) article to learn how custom events work in Voucherify.
>
>Read also the details about the [Track Custom Event](/api-reference/events/track-custom-event) endpoint and the [Custom Event Object](/api-reference/events/event-object).

## Response `204`

Returns no content if the custom event schema has been successfully deleted.

## Other responses

- `401` — Returns an error if an invalid token was provided.
- `402` — Returns an error if the current plan does not include the Management API feature.
- `404` — Returns an error when a resource could not be found.

---

[API](https://skmtc.net/voucherifyio/apis/voucherify-api-async-actions.md) · [All operations](https://skmtc.net/voucherifyio/apis/voucherify-api-async-actions/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voucherifyio/voucherify-api-async-actions/revisions/4982266e0494/schema)
