v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-137956179.1 KB
users

Updates POP settings. For more information, see Configure POP and IMAP settings with the Gmail API.

put/gmail/v1/users/{userId}/settings/pop

Path parameters

userIdstring required

User's email address. The special value "me" can be used to indicate the authenticated user.

Request body

accessWindow'accessWindowUnspecified' | 'disabled' | 'fromNowOn' | 'allMail'

The range of messages which are accessible via POP.

disposition'dispositionUnspecified' | 'leaveInInbox' | 'archive' | 'trash' | 'markRead'

The action that will be executed on a message after it has been fetched via POP.

Response

Successful response