v1

latestOpenAPI 3.0.32026-07-26710398.3 KB
Project

Delete Tag Group

Delete a user-defined tag group. By default the tags are kept and simply ungrouped (their group becomes null); pass delete_tags=true to delete the tags themselves and detach them from every prompt. System groups (branding/intentType) cannot be deleted.

delete/tag-groups

Request body

groupstring required

The group name to delete

delete_tagsboolean

When true, the group's tags are deleted (and removed from all prompts) instead of just being ungrouped. Defaults to false.

Example request

{
  "group": "persona"
}

Response

Group deleted successfully. By default its tags are kept and ungrouped; with delete_tags=true they are deleted.

tag_countnumber required