---
title: delete-mail-server
description: Deletes Mail Servers.
component: pingds
version: 8.1
page_id: pingds:configref:subcommands-delete-mail-server
canonical_url: https://docs.pingidentity.com/pingds/8.1/configref/subcommands-delete-mail-server.html
---

# delete-mail-server

Deletes Mail Servers.

In addition to the global `dsconfig` options, the `dsconfig delete-mail-server` subcommand takes the following options:

* `-f | --force`

  Ignore non-existent Mail Servers.\
  Default: false

* `--server-name {name}`

  The name of the Mail Server.

Properties used in options depend on the type of object to configure.

For details about available properties, see [Mail Server](objects-mail-server.html).
