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 URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "mapIds": [ string ] } |
Fields | |
---|---|
map |
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.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform