POST /v1/tags
Create a Tag
Create a new tag within a classification
POST
POST /v1/tags
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Create a Tag
Create a new tag within a classification.Body Parameters
Name of the tag. Must be unique within the parent classification or parent tag.
Fully qualified name of the parent classification (e.g.,
Certification).Human-readable display name for the tag.
Description of the tag in Markdown format.
Fully qualified name of the parent tag for creating nested tags (e.g.,
PII.Sensitive).Visual styling for the tag.
Array of owner references (users or teams) to assign to the tag.
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
Unique identifier for the tag (UUID format).
Tag name.
Fully qualified name in format
classification.tagName or classification.parent.child.Human-readable display name.
Description of the tag in Markdown format.
Visual styling for the tag.
Reference to the parent classification.
Provider:
user or system.List of owners assigned to the tag.
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.Error Handling
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid request body or missing required fields |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to create tags |
409 | ENTITY_ALREADY_EXISTS | Tag with same name already exists in classification (POST only) |