POST /v1/tags
Create a Tag
Create a new tag within a classification hierarchy with display name, description, parent relationships, and styling for data asset categorization using the Collate REST API.
POST
POST /v1/tags
Create a Tag
Create a new tag within a classification.Body Parameters
string
required
Name of the tag. Must be unique within the parent classification or parent tag.
string
required
Fully qualified name of the parent classification (e.g.,
Certification).string
Human-readable display name for the tag.
string
Description of the tag in Markdown format.
string
Fully qualified name of the parent tag for creating nested tags (e.g.,
PII.Sensitive).object
Visual styling for the tag.
array
Array of owner references (users or teams) to assign to the tag.
string
Provider of the tag:
user (custom) or system (built-in).POST /v1/tags
Returns
Returns the created tag object with all specified properties and system-generated fields.Response
string
Unique identifier for the tag (UUID format).
string
Tag name.
string
Fully qualified name in format
classification.tagName or classification.parent.child.string
Human-readable display name.
string
Description of the tag in Markdown format.
object
Visual styling for the tag.
object
Reference to the parent classification.
string
Provider:
user or system.array
List of owners assigned to the tag.
number
Version number for the entity (starts at 0.1).
Create or Update (PUT)
UsePUT /v1/tags instead of POST to perform an upsert. If a tag with the same fullyQualifiedName already exists, it will be updated; otherwise, a new tag is created. The request body is the same as POST.
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead. However, for certain fields (such as description, tags, owners, and custom properties), PUT preserves an already-populated value instead of overwriting it with an empty or omitted one — the exact behavior depends on the field and the calling user or bot’s permissions, not a blanket rule. See Entity Update Behavior for the full preserve/merge rules. Use PATCH to intentionally replace an existing value.