This API will soon be deprecated. Please use another API.

    Delete Folders

    Deletes a specified folder from the mailbox.

    API Type

    Service API

    Request URL{API ID}/mail/removeFolder

    HTTP Method

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


    Parameter Type Required Description
    folderSN String Y A serial number of a folder to be deleted

    Request Example{API ID}/mail/removeFolder


    It indicates whether the request was successful or not, and returns the "data" value having an empty string.

    Property Type Required Description
    message String Y Indicates whether successful or not.
    ● Success: "success"
    ● Failure: Error code
    code String Y Code that indicates whether successful or not.
    ● Success: "000"
    ● Failure: Any integer excluding "000"
    data integer N null

    Response Example


    It returns an error code and message when the API call fails (refer to Response Common).

    Error Code Error Message Description
    999 Unknown error Internal error