Skip to main content

Validate a tag type

POST /api/admin/tag-types/validate

Validates whether if the body of the request is a valid tag and whether the a tag type with that name already exists or not. If a tag type with the same name exists, this operation will return a 409 status code.

Request

Body

required

tagTypeSchema

  • name string required

    The name of the tag type.

  • description string

    The description of the tag type.

  • icon string nullable

    The icon of the tag type.

Responses

validateTagTypeSchema

Schema
  • valid boolean required

    Whether or not the tag type is valid.

  • tagType objectrequired

    A tag type.

  • name string required

    The name of the tag type.

  • description string

    The description of the tag type.

  • icon string nullable

    The icon of the tag type.

Loading...