---
title: Delete
url: https://www.tines.com/docs/api/admin/smtp/delete/
updated: 2026-07-10T16:25:16+00:00
description: Delete the SMTP configuration set through the API for your self-hosted tenant.
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/docs/llms.txt) › [Tines API](https://www.tines.com/docs/api/llms.txt) › [Admin](https://www.tines.com/llm/docs/api/admin.md) › [SMTP configuration](https://www.tines.com/llm/docs/api/admin/smtp.md)*

# Delete

*[View on tines.com](https://www.tines.com/docs/api/admin/smtp/delete/)*

## Description

Delete the SMTP configuration set through the API for your self-hosted tenant.

This endpoint is only available on self-hosted tenants. This deletes only the API-managed database configuration and does not change environment variables. After the configuration is deleted, the tenant falls back to the SMTP settings from the environment.

## Request

HTTP Method: **DELETE**

### Sample request

```bash
curl -X DELETE \
  --proto '=https' --tlsv1.2 \
  https://<tenant-domain>/api/v1/admin/smtp \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'
```

## Response

A successful request will return an empty response with a `204` status code. The same response is returned when there is no API-managed SMTP configuration to delete.

## Errors

This endpoint is only allowed for self-hosted tenants.

| Status | Meaning                                          |
| ------ | ------------------------------------------------ |
| 403    | The endpoint was called on a Tines cloud tenant. |
