science This product or feature is in the pre-GA Experimental launch stage (pre-GA). Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the Google Maps Platform Service Specific Terms. For more information, see the launch stage descriptions.
Deletes a DatasetStyleAssociation. The delete becomes a special case when the DatasetStyleAssociation is implicitly associated with at least one Map. In this case, the delete is only allowed if the request contains the list of all map IDs associated with the DatasetStyleAssociation. This is a safeguard put in place to minimize the risk of making destructive changes with unintended side effects.
HTTP request
POST https://mapmanagement.googleapis.com/v1/{name=projects/*/datasets/*/clientStyles/*}:delete
The request body contains data with the following structure:
JSON representation
{"mapIds": [string]}
Fields
mapIds[]
string
Optional. Must be present if and only if the DatasetStyleAssociation to be deleted is implicitly associated with at least one Map. This is a safeguard put in place to minimize the risk of making destructive changes with unintended side effects.
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-27 UTC."],[],[],null,["# Method: projects.datasets.clientStyles.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nDeletes a DatasetStyleAssociation. The delete becomes a special case when the DatasetStyleAssociation is implicitly associated with at least one Map. In this case, the delete is only allowed if the request contains the list of all map IDs associated with the DatasetStyleAssociation. This is a safeguard put in place to minimize the risk of making destructive changes with unintended side effects.\n\n### HTTP request\n\n`POST https://mapmanagement.googleapis.com/v1/{name=projects/*/datasets/*/clientStyles/*}:delete`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. Format: `projects/${project}/datasets/{dataset_id}/clientStyles/{style_id}` |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------|\n| ``` { \"mapIds\": [ string ] } ``` |\n\n| Fields ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `map``Ids[]` | `string` Optional. Must be present if and only if the DatasetStyleAssociation to be deleted is implicitly associated with at least one Map. This is a safeguard put in place to minimize the risk of making destructive changes with unintended side effects. |\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`"]]