post
https://api.jmapcloud.io/api/mcs/rest/v1/organizations//projects//layers-groups//tags
Adds a tag to a layer group of a project.
Required role: ORG_EDITOR, and the current user must have the MODIFY permission on the project.
layer-group must be a group of this project's layer tree; otherwise the request returns 404.
Tags belong to your organization and are shared by all its resources (data sources, forms, projects, ...). If your organization already has a tag with this name (case-insensitive), that tag is reused, with its existing spelling; otherwise a new tag is created.
- HTML markup is removed from
tag. tagcan't be empty and is limited to 2048 characters.- Adding a tag the group already has does nothing (the tag's id is returned).
Response
result is the id of the tag. Use it to remove the tag with DELETE .../tags/{tag}.
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…