---
title: "Delete a registration"
method: DELETE
path: "/appmail/registrations/{id}"
tags: ["App Mail Registrations"]
---

# Delete a registration

`DELETE /appmail/registrations/{id}`

## Request

- Base URL: `https://api.surense.com/api/v1`
- URL: `https://api.surense.com/api/v1/appmail/registrations/{id}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.surense.com/oauth/token`

Deletes the registration and publishes an `EAppMailRegistrationDeletedEvent`. Primary registrations (the one tied to the user's own registered email) cannot be deleted. Returns 200 with an empty body; 400 if the registration is not found in the caller's tenant or is not deletable.

## Path parameters

- `id` string, uuid, required

## Response `200`

OK

---

[API](https://skmtc.dev/surense/apis/appmail-api.md) - [All operations](https://skmtc.dev/surense/apis/appmail-api/llms.txt) - [OpenAPI document](https://skmtc.dev/surense/apis/appmail-api/revisions/dd959778fa2e?raw)
