Skip to content

Create tag

PUT
/api/v1/tag
curl --request PUT \
--url https://example.com/api/v1/tag \
--header 'Content-Type: application/json' \
--data '{ "name": "example" }'
Media typeapplication/json
object
name
required

Plain-text tag name. Empty names, Unicode, punctuation, and literal markup are preserved. C0 and DEL controls are rejected. Length is measured in Unicode code points.

string
<= 5000 characters /^[^\u0000-\u001f\u007f]*$(?![\s\S])/
Examplegenerated
{
"name": "example"
}

Tag created

Media typeapplication/json
object
id
required

Tag ID (15 chars)

string
name
required

Tag name

string
created
string format: date-time
updated
string format: date-time
Examplegenerated
{
"id": "example",
"name": "example",
"created": "2026-04-15T12:00:00Z",
"updated": "2026-04-15T12:00:00Z"
}

Bad Request

Internal Server Error