> ## Documentation Index
> Fetch the complete documentation index at: https://help.statisfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a tag

> Deletes the tag from the catalogue. The workspace has one catalogue of tags, shared by tasks, accounts, projects, documents, prompts and conversations. A tag any record still carries is a 409 naming how many of each carry it (`details[].applied_to`): remove it from them first (for a task, send its `tags` without it). Deleting one already deleted, or an id no tag has, returns the same answer and changes nothing.



## OpenAPI

````yaml /api/statisfy-api.openapi.json delete /v1/tags/{tag_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/tags/{tag_id}:
    delete:
      tags:
        - tags
      summary: Delete a tag
      description: >-
        Deletes the tag from the catalogue. The workspace has one catalogue of
        tags, shared by tasks, accounts, projects, documents, prompts and
        conversations. A tag any record still carries is a 409 naming how many
        of each carry it (`details[].applied_to`): remove it from them first
        (for a task, send its `tags` without it). Deleting one already deleted,
        or an id no tag has, returns the same answer and changes nothing.
      operationId: tags_delete
      parameters:
        - in: path
          name: tag_id
          required: true
          schema:
            maximum: 2147483647
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedTag'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    DeletedTag:
      properties:
        deleted:
          const: true
          default: true
          title: Deleted
          type: boolean
        id:
          title: Id
          type: integer
      required:
        - id
      title: DeletedTag
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.