Welcome, guest Sign In

DeleteMessages

DeleteMessages deletes the specified message(s) from the email account. Can supply a list of flags to selectively delete messages.

Available to both premium and non-premium users.

Parameters

Name Description
fid Folder ID. Name and ID of the folder.
mid Message ID. Repeatable.
selection Flag for deleting messages that have the selection flag set. All messages will be deleted if an empty Flag object is passed and no mid is present in the request.

Returns

Name Description
error ErrorCode. Repeatable

Examples

Request
Response

Table of Contents

Copyright © 2009 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy

Help us continue to improve the Yahoo! Developer Network: Send Your Suggestions