GetMX-API
  1. SMTP Rule
GetMX-API
  • Domain
    • Get Domains
      POST
    • Add Domain
      POST
    • Delete Domain
      POST
    • Get Domain Detail
      POST
    • Bind Domain to Group-Pay
      POST
    • Unbind Domain from Group-Pay
      POST
    • Update Domain
      POST
  • Group Pay
    • Get Group-Pays
      POST
    • Add Group-Pay
      POST
    • Update Group-Pay
      POST
  • Email
    • Get Emails
      POST
    • Add Email
      POST
    • Delete Email
      POST
    • Update Email
      POST
    • Clean up Email
      POST
  • Message
    • Get Messages
      POST
    • Get Message Detail
      POST
    • Delete Message
      POST
    • Flagged Message
      POST
    • Seen Message
      POST
    • Answered Message
      POST
    • Get Folders
      POST
    • Move Message Folder
      POST
  • Alias
    • Get Aliases
    • Add Alias
    • Delete Alias
    • Update Alias
  • Message Notice
    • Get Message Notices
    • Add Message Notice
    • Delete Message Notice
    • Check Message Notice
    • Update Message Notice
  • SMTP Rule
    • Get Smtp Rules
      POST
    • Add Smtp Rule
      POST
    • Update Smtp Rule
      POST
    • Delete Smtp Rule
      POST
  • Scale
    • Query Remaining Space
    • Server Cleanup
  1. SMTP Rule

Delete Smtp Rule

POST
/v1/smtp-filter/delete

Request

Body Params multipart/form-data
token
string 
required
Token generated by the management backend.
Example:
{{token}}
smtp_filter_id
string 
optional
Rule ID (can be obtained from the GetMX backend, or through the /v1/message-notice/list endpoint; the 'id' field corresponds to 'message_notice_id').
Example:
12345678

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://domain-open-api.getmx.com/v1/smtp-filter/delete' \
--form 'token="token"' \
--form 'smtp_filter_id="12345678"'

Responses

🟢200成功
application/json
Body
code
integer 
required
msg
string 
required
data
null 
required
Example
{
  "code": 0,
  "msg": "string",
  "data": null
}
Previous
Update Smtp Rule
Next
Query Remaining Space
Built with