Method: people.batchDeleteContacts
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-21 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-08-21 UTC."],[[["Delete a batch of contacts, limited to 500 resource names per request, while preserving non-contact data."],["Send mutation requests for the same user sequentially to avoid latency issues and failures."],["This operation utilizes a POST request to `https://people.googleapis.com/v1/people:batchDeleteContacts` and requires the `https://www.googleapis.com/auth/contacts` OAuth scope."],["The request body should contain a JSON object with a `resourceNames` array listing the contact resource names to delete."],["A successful deletion results in an empty response body."]]],["This document details the process of deleting multiple contacts via a batch request. Using a `POST` request to `https://people.googleapis.com/v1/people:batchDeleteContacts`, a JSON body with a `resourceNames` array is submitted, containing the string identifiers of the contacts to be removed. Up to 500 resource names can be specified per request. Successful execution returns an empty response. Requires OAuth scope `https://www.googleapis.com/auth/contacts`. Mutate requests for the same user should be sent sequentially.\n"]]