Skip to content

Tags

List Tags

List all tags in the org registry, ordered by name.

Omit limit to get every tag; total is the full count either way.

Auth: org member.

Parameters

NameInTypeRequiredDescription
limitqueryintegernoMax rows to return (1-100). Omit to return every row.
offsetqueryintegernoRows to skip — pass the previous response’s next_offset.
org_idpathstring (uuid)yes

Responses

StatusDescriptionBody
200Successful ResponsePage_TagRead_
422Validation ErrorHTTPValidationError

Create Tag

Create a new tag in the org registry.

The name is normalized (lowercased, trimmed) before storage. If a tag with the resulting name already exists, the existing tag is returned (idempotent).

Auth: org admin/owner.

Parameters

NameInTypeRequiredDescription
org_idpathstring (uuid)yes

Request body (required)

FieldTypeRequiredDescription
colorstringnoOptional color hex/name.
descriptionstringnoOptional human-readable description.
namestringyesTag name. Will be normalized (lowercased, trimmed).

Responses

StatusDescriptionBody
201Successful ResponseTagRead
422Validation ErrorHTTPValidationError

Update Tag

Update a tag’s name, color, or description.

Only fields present in the request body are applied. Pass null to clear color or description.

Auth: org admin/owner.

Parameters

NameInTypeRequiredDescription
org_idpathstring (uuid)yes
tag_idpathstring (uuid)yes

Request body (required)

FieldTypeRequiredDescription
colorstringno
descriptionstringno
namestringno

Responses

StatusDescriptionBody
200Successful ResponseTagRead
422Validation ErrorHTTPValidationError

Delete Tag

Soft-delete a tag from the registry.

Also removes all entity-tag associations for this tag.

Auth: org admin/owner.

Parameters

NameInTypeRequiredDescription
org_idpathstring (uuid)yes
tag_idpathstring (uuid)yes

Responses

StatusDescriptionBody
204Successful Response
422Validation ErrorHTTPValidationError