delete
https://api.jmapcloud.io/api/mcs/rest/v1/organizations//projects//layers//style-rules/
Deletes a style rule of a layer, with its conditions, expressions and zoom ranges. This can't be undone.
Required role: ORG_EDITOR, and the current user must have the MODIFY permission on the project.
The styles used by the rule aren't deleted.
When it fails
400if it's the layer's last style rule (a layer always keeps one), or for a referenced layer.404if the layer isn't in the project, or the rule isn't a rule of the layer.
Organization
organization must be the organization of the access token, and the project must belong to it; otherwise the request returns 404.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…