---
title: "Delete alias"
method: DELETE
path: "/api/mail/v1/aliases/{aliasId}"
tags: ["Mail: Aliases"]
---

# Delete alias

`DELETE /api/mail/v1/aliases/{aliasId}`

Delete an alias. Messages sent to the alias address are no longer
delivered to the mailbox.

## Path parameters

- `aliasId` string, required

## Response `200`

Success response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `401` — Unauthenticated response
- `404` — Error response
- `422` — Error response
- `500` — Error response

---

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