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

# Delete run tag

> Soft-delete a single grouped tag from a workflow run. Writes a DELETE event row.



## OpenAPI

````yaml /api-reference/openapi.json delete /v1/runs/{workflow_run_id}/tags/{key}
openapi: 3.1.0
info:
  title: Skyvern API
  description: API for Skyvern
  version: 1.0.0
servers:
  - url: https://api.skyvern.com
    x-fern-server-name: Cloud
  - url: https://api-staging.skyvern.com
    x-fern-server-name: Staging
  - url: http://localhost:8000
    x-fern-server-name: Local
security: []
paths:
  /v1/runs/{workflow_run_id}/tags/{key}:
    delete:
      tags:
        - Tags
      summary: Delete run tag
      description: >-
        Soft-delete a single grouped tag from a workflow run. Writes a DELETE
        event row.
      operationId: delete_run_tag_v1_runs__workflow_run_id__tags__key__delete
      parameters:
        - name: workflow_run_id
          in: path
          required: true
          schema:
            type: string
            description: Workflow run ID
            examples:
              - wr_123
            title: Workflow Run Id
          description: Workflow run ID
        - name: key
          in: path
          required: true
          schema:
            type: string
            description: Tag key to delete
            examples:
              - env
            title: Key
          description: Tag key to delete
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Skyvern API key for authentication. API key can be found at
              https://app.skyvern.com/settings.
            title: X-Api-Key
          description: >-
            Skyvern API key for authentication. API key can be found at
            https://app.skyvern.com/settings.
      responses:
        '200':
          description: Successfully deleted tag (or no-op if absent)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunTagsResponse'
        '404':
          description: Workflow run not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RunTagsResponse:
      properties:
        workflow_run_id:
          type: string
          title: Workflow Run Id
        tags:
          items:
            $ref: '#/components/schemas/TagResponse'
          type: array
          title: Tags
      type: object
      required:
        - workflow_run_id
        - tags
      title: RunTagsResponse
      description: Current tags for a workflow run.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TagResponse:
      properties:
        key:
          anyOf:
            - type: string
            - type: 'null'
          title: Key
        value:
          type: string
          title: Value
        source:
          type: string
          title: Source
        set_at:
          type: string
          format: date-time
          title: Set At
        set_by:
          type: string
          title: Set By
      type: object
      required:
        - value
        - source
        - set_at
        - set_by
      title: TagResponse
      description: |-
        Current state of one tag (``GET /v1/workflows/{wpid}/tags`` row).
        ``key`` is null for a standalone label.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````