Create tag

POST/api/v1/tags

Create a new tag, optionally in a tag group

Operation ID: create_tag_api_v1_tags_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

namestringrequired

Name of the tag

descriptionstring

Description of the tag

tag_group_idstring

Optional tag group to organize this tag under

Responses

201Successful Response

successboolean
messagestring
codestring
dataTagResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

409Conflict - Resource already exists

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject