Method: people.deleteContact
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-08-06 UTC.
[null,null,["Последнее обновление: 2024-08-06 UTC."],[[["This API endpoint allows for the deletion of a contact person's information, excluding any associated non-contact data."],["Requests to modify data for the same user should be sent one after the other to prevent performance issues."],["The endpoint uses a DELETE request with the resource name of the contact specified as a path parameter."],["An empty request body is required, and a successful deletion will result in an empty response body."],["Authorization requires the `https://www.googleapis.com/auth/contacts` OAuth scope."]]],["This document details the process of deleting a contact using the Google People API. A `DELETE` request is sent to `https://people.googleapis.com/v1/{resourceName=people/*}:deleteContact`, specifying the contact's `resourceName` in the URL's path parameter. The request body must be empty, and successful deletion results in an empty response body. Requests must be sequential. Authorization requires the `https://www.googleapis.com/auth/contacts` OAuth scope. Non-contact data remains untouched.\n"]]