Skip to main content
POST
Create a tag definition.

Authorizations

X-API-KEY
string
header
required

Body

application/json

Create a tag definition. The server sets three things the caller cannot influence: kind is always USER, status is always active, and id is minted as a slug of name. Detection is off on a new tag.

name
string
required

Display name. The id is derived from it, so a name whose slug collides with an existing definition (including a SYSTEM id such as pii) is refused with 409, and one that would not form a valid id is refused with 400.

Minimum string length: 1
description
string

Optional longer explanation of what the tag means.

color
string

Optional display color for chips and badges.

Response

The created definition, carrying the minted id.

A single tag definition, as returned by create and update.

tag
object
required

One tag in the organization's vocabulary. Field tags reference it by id and the read joins it in, so a rename takes effect everywhere at once. readOnly properties are not settable on POST or PUT.