Method: users.settings.updatePop
Permintaan HTTP
PUT https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/pop
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
userId |
string
Alamat email pengguna. Nilai khusus "me" dapat digunakan untuk menunjukkan pengguna yang diautentikasi.
|
Isi permintaan
Isi permintaan memuat instance PopSettings
.
Isi respons
Jika berhasil, isi respons akan berisi instance PopSettings
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/gmail.settings.basic
Untuk informasi selengkapnya, lihat Panduan otorisasi.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-09-05 UTC.
[null,null,["Terakhir diperbarui pada 2024-09-05 UTC."],[[["Updates the POP settings of a Gmail user."],["Requires a `PUT` request to a specific Gmail API endpoint with the user's email address."],["The request body should contain the desired POP settings in JSON format based on the PopSettings resource."],["Successful execution will return the updated POP settings in the response body."],["Authorization requires the `https://www.googleapis.com/auth/gmail.settings.basic` scope."]]],["The core content describes how to update POP settings via a PUT HTTP request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/pop`. The `userId` path parameter, either an email or \"me\", specifies the user. The request body includes `PopSettings`, and a successful response also contains `PopSettings`. Authorization requires the `https://www.googleapis.com/auth/gmail.settings.basic` OAuth scope. This action allows users to modify their POP settings.\n"]]