Method: accounts.locations.delete
    
    
      
    
    
      
      קל לארגן דפים בעזרת אוספים
    
    
      
      אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
      
        
          בקשת HTTP
          DELETE https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
        
        
          פרמטרים של נתיב
          
            
              
                | פרמטרים | 
            
            
              
                | name | string
 שם המיקום למחיקה. | 
            
          
        
        
          גוף הבקשה
          גוף הבקשה חייב להיות ריק.
        
        
          גוף התגובה
          אם הביצוע יהיה תקין, גוף התגובה יהיה ריק.
        
        
          היקפי הרשאות
          כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
          
            - https://www.googleapis.com/auth/plus.business.manage
- https://www.googleapis.com/auth/business.manage
למידע נוסף, עיין בסקירה הכללית על OAuth 2.0.
        
      
    
  
  
  
  
 
  
    
    
      
       
    
    
  
  
  אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
  עדכון אחרון: 2025-08-29 (שעון UTC).
  
  
  
    
      [null,null,["עדכון אחרון: 2025-08-29 (שעון UTC)."],[],["This document details the process of deleting a location via API.  A `DELETE` request is sent to a specific URL, including the location's name in the path. The request body must be empty. A successful deletion results in an empty response body; `NOT_FOUND` is returned if the location doesn't exist. Deleting a location requires specific OAuth scopes: `plus.business.manage` or `business.manage`. There is also a specific `LocationState` to check if deleting a location through API is possible.\n"]]