pem.cqmail.delMailname

This method is supported by Operations starting from version 2.6.4

This method deletes a Mailname.

Additionally, this method removes the E-mail Service from the appropriate Service User.

The method has the following input parameters:

Name

Type

Short Description

subscription_id

int

ID of Subscription.

[domain_name]

string

Name of the Domain to delete a Mailname from. There are the following scenarios:

  • Remove the "All-Domains" Mailname. In this scenario the domain_name parameter should be omitted.
  • Remove the Mailname from certain Domain. In this scenario the domain_name parameter should be specified.

name

string

Local part (e-mail address before the @ sign).

The method has no output parameters.

Note: Starting from Operations 2.6.4 this method can also be called under Reseller permissions.