- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Removes all specified CatalogAttribute
s from the AttributesConfig
.
HTTP request
POST https://retail.googleapis.com/v2beta/{attributesConfig=projects/*/locations/*/catalogs/*/attributesConfig}:batchRemoveCatalogAttributes
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
attributes |
Required. The attributes config resource shared by all catalog attributes being deleted. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "attributeKeys": [ string ] } |
Fields | |
---|---|
attribute |
Required. The attribute name keys of the |
Response body
Response of the CatalogService.BatchRemoveCatalogAttributes
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "deletedCatalogAttributes": [ string ], "resetCatalogAttributes": [ string ] } |
Fields | |
---|---|
deleted |
Catalog attributes that were deleted. Only pre-loaded |
reset |
Catalog attributes that were reset. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the attributesConfig
resource:
retail.attributesConfigs.batchRemoveCatalogAttributes
For more information, see the IAM documentation.