Method: accounts.regions.batchDelete

Deletes multiple regions by name from your Merchant Center account. Executing this method requires admin access.

HTTP request

POST https://merchantapi.googleapis.com/accounts/v1/{parent=accounts/*}/regions:batchDelete

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The account to delete one or more regions from. Format: accounts/{account}

Request body

The request body contains data with the following structure:

JSON representation
 { 
 "requests" 
 : 
 [ 
 { 
 object (  DeleteRegionRequest 
 
) 
 } 
 ] 
 } 
Fields
requests[]

object ( DeleteRegionRequest )

Required. The names of the regions to delete. A maximum of 100 regions can be deleted in a batch.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview .

DeleteRegionRequest

Request message for the regions.delete method.

JSON representation
 { 
 "name" 
 : 
 string 
 } 
Fields
name

string

Required. The name of the region to delete. Format: accounts/{account}/regions/{region}

Design a Mobile Site
View Site in Mobile | Classic
Share by: