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

  • Base URL
    https://api.peec.ai/customer/v1
  • URL
    https://api.peec.ai/customer/v1/tag-groups
  • Auth
    • API key in header X-API-Key
    • or API key in query parameter api_key
    • or HTTP bearer

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

Changes

No recorded changes to this operation across all 3 revisions of this API.