Delete a style rule

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

  • 400 if it's the layer's last style rule (a layer always keeps one), or for a referenced layer.
  • 404 if 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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the project

uuid
required

Id of the layer (a layer of the project)

uuid
required

Id of the style rule (a rule of the layer)

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json