---
title: "Revoke an SMTP credential"
method: DELETE
path: "/smtp-credentials/{id}"
tags: ["SmtpCredentials"]
---

# Revoke an SMTP credential

`DELETE /smtp-credentials/{id}`

## Request

- Base URL: `https://api.groundmail.dev`
- URL: `https://api.groundmail.dev/smtp-credentials/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

SMTP credential revoked

- object
  - `ok` true, required

## Other responses

- `401`: Missing or invalid API key
- `404`: SMTP credential not found

---

[API](https://skmtc.dev/groundmail/apis/groundmail-api.md) · [All operations](https://skmtc.dev/groundmail/apis/groundmail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/groundmail/apis/groundmail-api/revisions/479821c9fecf?raw)
