API DocsRESTTag service

CreateTag

Create a tag.

POST
/api/v1/tags

Request Body

application/jsonRequired

The request for a call to TagService.CreateTag.

name
Required
string

The name for the new tag. If the tag already exists, an error is returned.

organizationIdstring

curl -X POST "<API_URL>/api/v1/tags" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "organizationId": "string"
  }'

A successful response.

{
  "tag": {}
}