Add a tag to a layer

Adds a tag to a layer of a project.

Required role: ORG_EDITOR, and the current user must have the MODIFY permission on the project.

Tags belong to your organization and are shared by all its resources (data sources, projects, layers, ...). 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.
  • tag can't be empty and is limited to 2048 characters.
  • Adding a tag the layer 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}.

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)

Body Params

Tag to add

string
required
length between 0 and 2048

Name of the tag, 2048 characters at most. HTML markup is removed. An existing tag of your organization with the same name (case-insensitive) is reused.

Responses

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