Delete Messages

    Deletes the specified messages permanently or moves them to Trash.

    API Type

    Service API

    Request URL{API ID}/mail/v2/removeMail

    HTTP Method

    DELETE(Content-Type: application/x-www-form-urlencoded; charset=UTF-8)


    Parameter Type Required Description
    mailSNList String Y Serial numbers (mailSN) of the messages to delete, using a semicolon (;) as a delimiter.
    Example) 46554;46548;46550


    It returns HTTP status 200 with no response when the API call is successful.


    It returns an error code and message with HTTP status when the API call fails.

    Property Type Description
    code String Error code
    message String Error message
    HTTP status Error code Description
    400 INVALID_PARAMETER Invalid request parameters
    404 NOT_EXIST_MAILSN Message for mailSNList does not exist
    500 SYSTEM_ERROR Internal server error
    Error Example
        "code": "INVALID_PARAMETER",
        "message": "Invalid parameter, Please check mailSNList",
        "domain": "mail"