- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- DeleteRegionRequest
- Try it!
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 |
Required. The account to delete one or more regions from. Format: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"requests": [
{
object ( |
| Fields | |
|---|---|
requests[] |
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 |
Required. The name of the region to delete. Format: |