Method: people.batchDeleteContacts
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 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"]]