---
title: "Create a tag namespace"
method: POST
path: "/tagNamespace"
tags: ["tagNamespace"]
---

# Create a tag namespace

`POST /tagNamespace`

## Request body

- TagNamespace
  - `id` string, labelId, required
  - `description` string, required
  - `color` string, rgb
  - `createdOn` string, datetime, required
  - `createdBy` string, required — User ID responsible for creating the content
  - `modifiedOn` string, datetime, required
  - `modifiedBy` string, required

## Response `201`

Expected response to a valid request

- TagNamespace
  - `id` string, labelId, required
  - `description` string, required
  - `color` string, rgb
  - `createdOn` string, datetime, required
  - `createdBy` string, required — User ID responsible for creating the content
  - `modifiedOn` string, datetime, required
  - `modifiedBy` string, required

## Other responses

- `default` — unexpected error

## Changes

> 16 revisions in range; 1 not diffed.

- **2019-10-10** `f16566c7c7ef` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/watchdogpolska/apis/small-eod/changes/tagNamespace/post.md)

---

[API](https://skmtc.dev/watchdogpolska/apis/small-eod.md) · [All operations](https://skmtc.dev/watchdogpolska/apis/small-eod/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/watchdogpolska/small-eod/revisions/1c5ac40bf412/schema)
