Method: users.settings.forwardingAddresses.delete
מחיקת הכתובת שצוינה להעברה וביטול כל האימות שנדרש.
השיטה הזו זמינה רק ללקוחות של חשבונות שירות שקיבלו סמכות ברמת הדומיין.
בקשת HTTP
DELETE https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
userId |
string
זוהי כתובת האימייל של המשתמש. ניתן להשתמש בערך המיוחד 'me' כדי לציין את המשתמש המאומת.
|
forwardingEmail |
string
הכתובת להעברה למחיקה.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הביצוע יהיה תקין, גוף התגובה יהיה ריק.
היקפי הרשאות
נדרש היקף OAuth הבא:
https://www.googleapis.com/auth/gmail.settings.sharing
למידע נוסף, ניתן לעיין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-05 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-05 (שעון UTC)."],[[["Deletes a specified forwarding address and any associated verification for service account clients with domain-wide authority."],["Requires a `DELETE` request to the Gmail API with the user ID and forwarding email address in the path."],["Request body should be empty, and a successful deletion results in an empty response body."],["Needs authorization with the `https://www.googleapis.com/auth/gmail.settings.sharing` OAuth scope."]]],["This document outlines the process to delete a forwarding address in Gmail using a `DELETE` HTTP request. The request requires a `userId` and `forwardingEmail` in the URL path. The request body must be empty. Successful deletion yields an empty response body. This action is restricted to service accounts with delegated domain-wide authority. It needs `https://www.googleapis.com/auth/gmail.settings.sharing` OAuth scope for authorization. gRPC Transcoding syntax is utilized in the URL.\n"]]