# Delete Mailgun SMTP credentials

Delete Mailgun SMTP credentials for a given domain and SMTP user

Endpoint: DELETE /v3/domains/{domain_name}/credentials/{spec}
Version: 3.0.0
Security: basicAuth

## Path parameters:

  - `domain_name` (string, required)
    Hostname of credentials to be deleted

  - `spec` (string, required)
    Login specification of credentials to be deleted (email address)

## Response 200 fields (application/json):

  - `message` (string, required)
    Response message

  - `spec` (string, required)
    The mailbox username associated with the deleted credentials

## Response 400 fields (application/json):

  - `message` (string, required)
    Response message


