नाम वाले स्पेस को मिटाता है. यह हमेशा कैस्केडिंग मिटाने की सुविधा का इस्तेमाल करता है. इसका मतलब है कि स्पेस के चाइल्ड रिसॉर्स भी मिटा दिए जाते हैं. जैसे, स्पेस में पोस्ट किए गए मैसेज और स्पेस की सदस्यताएं. उदाहरण के लिए, स्पेस मिटाना लेख पढ़ें.
पुष्टि करने के लिए, इन तरीकों का इस्तेमाल किया जा सकता है:
डेवलपर की झलक: एडमिन की अनुमति के साथ ऐप्लिकेशन की पुष्टि. इसके लिए ज़रूरी है कि Chat ऐप्लिकेशन ने ऐप्लिकेशन की पुष्टि करने की सुविधा का इस्तेमाल करके स्पेस बनाया हो.
उपयोगकर्ता की पुष्टि अनुरोध में useAdminAccess फ़ील्ड सेट करके, एडमिन की अनुमतियों के साथ इस तरीके की पुष्टि की जा सकती है और इसे अनुमति दी जा सकती है.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-03-13 (UTC) को अपडेट किया गया."],[[["This request permanently deletes a space and all its child resources, including messages and memberships."],["Authentication can be performed using app authentication (with administrator approval) or user authentication (including with administrator privileges using `useAdminAccess`)."],["The request requires the space's resource name in the URL path and can optionally use the `useAdminAccess` query parameter for administrator privileges."],["Requires specific OAuth scopes for authorization, such as `chat.app.delete` or `chat.admin.delete`, as detailed in the Authorization guide."]]],["This describes how to delete a named space using the Chat API, including its child resources. A `DELETE` request is sent to `https://chat.googleapis.com/v1/{name=spaces/*}`. The `name` path parameter specifies the space to delete. The `useAdminAccess` query parameter enables administrator privileges, which requires the `chat.admin.delete` OAuth scope and specific admin rights. The request body must be empty, and a successful deletion returns an empty JSON object. Authorization requires specific OAuth scopes.\n"]]