---
updatedAt: 2026-05-27T10:25:03.000Z
agentTools:
  projectIndex: https://docs.v7labs.com/llms.txt
---

# Delete a dataset label

  Delete a dataset label for a given team.


# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "JsonErrorResponse": {
        "properties": {
          "errors": {
            "items": {
              "properties": {
                "detail": {
                  "example": "null value where string expected",
                  "type": "string",
                  "x-struct": null,
                  "x-validate": null
                },
                "source": {
                  "properties": {
                    "pointer": {
                      "example": "/data/attributes/petName",
                      "type": "string",
                      "x-struct": null,
                      "x-validate": null
                    }
                  },
                  "required": [
                    "pointer"
                  ],
                  "type": "object",
                  "x-struct": null,
                  "x-validate": null
                },
                "title": {
                  "example": "Invalid value",
                  "type": "string",
                  "x-struct": null,
                  "x-validate": null
                }
              },
              "required": [
                "title",
                "source",
                "detail"
              ],
              "type": "object",
              "x-struct": null,
              "x-validate": null
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "errors"
        ],
        "title": "JsonErrorResponse",
        "type": "object",
        "x-struct": "Elixir.OpenApiSpex.JsonErrorResponse",
        "x-validate": null
      },
      "Common.APIError": {
        "additionalProperties": false,
        "properties": {
          "errors": {
            "properties": {
              "code": {
                "enum": [
                  "OUT_OF_ANNOTATION_CREDITS",
                  "NOT_ARCHIVED",
                  "ASSIGN_WORKFLOW_TEMPLATE_UNAVAILABLE",
                  "WORKFLOW_UPDATE_FAILURE",
                  "GATED_FEATURE_SSO_AND_SAML",
                  "UPLOAD_DISABLED",
                  "ITEM_REGISTRATION_LIMIT_EXCEEDED",
                  "SSO_REQUIRED",
                  "TOO_MANY_PENDING_EXPORTS",
                  "STORAGE_VALIDATION_FAILED",
                  "INVALID_ITEM_LAYOUT",
                  "WORKFLOW_ALREADY_COMPLETE",
                  "SUBSCRIPTION_INCOMPLETE_EXPIRED",
                  "UNIQUE_CONSTRAINT_VIOLATION",
                  "ITEM_IS_NOT_READY_FOR_ANNOTATIONS_IMPORT",
                  "NO_EXTERNAL_STORAGE_SET_FOR_TEAM",
                  "NO_DEFAULT_WORKFLOW",
                  "PLATFORM_TFA_ENFORCEMENT_LOCKED",
                  "STORAGE_LIMIT_REACHED",
                  "FEATURE_FLAG_DISABLED",
                  "MISSING_FILE_TYPE",
                  "DUPLICATED_FILE_SLOT",
                  "NO_AVAILABLE_WORK",
                  "MODIFYING_COMPLETE_STAGE",
                  "ENFORCING_SSO_BLOCKS_REGULAR_MEMBERSHIPS",
                  "INVALID_SAML_REQUEST",
                  "MISSING_PARAMETERS",
                  "INCORRECT_CLASS_USAGE",
                  "GROUND_TRUTH_NAME_DUPLICATE",
                  "NOT_AUTHENTICATED",
                  "TOO_MANY_ACTIVE_REPORT_JOBS",
                  "NOT_CURRENT_STAGE",
                  "INVALID_2FA_TOKEN",
                  "DATASET_IN_WORKFLOW",
                  "INCOMPATIBLE_STAGE_TYPE",
                  "TARGET_IN_DIFFERENT_DATASET",
                  "ASSIGN_ASSIGNMENT_INVALID",
                  "INVALID_ANNOTATION_DATA",
                  "OUT_OF_SEATS",
                  "STAGE_MISSING_ASSIGNEE",
                  "NO_ANNOTATIONS_ON_SOURCE_ITEM",
                  "REVIEW_STATUS_NOT_SET",
                  "NOT_FOUND",
                  "SUBSCRIPTION_PAST_DUE",
                  "EXTERNAL_STORAGE_LIMIT_REACHED",
                  "UNPROCESSED_VIDEO_REGISTRATION_DISABLED",
                  "GATED_FEATURE_TFA_ENFORCEMENT",
                  "NO_ACTIVE_WORKFLOW",
                  "USER_NOT_FOUND_FOR_ACTOR",
                  "GROUND_TRUTH_VERSIONING_NOT_SUPPORTED",
                  "CLASSES_USED_IN_WORKFLOW",
                  "DUPLICATED_OBJECT_REJECTED",
                  "SUBSCRIPTION_UNPAID",
                  "MULTIBITRATE_STREAM_NOT_AVAILABLE",
                  "TIMEOUT",
                  "TARGET_STAGE_NOT_CURRENT",
                  "BAD_REQUEST",
                  "MULTIPLE_SLOTS_IN_AS_FRAMES_MODE",
                  "INCLUDES_RASTER_LAYER",
                  "OUT_OF_SUBSCRIBED_STORAGE",
                  "REPORT_JOB_NOT_FINISHED",
                  "ASSIGN_ATTRIBUTES_INVALID",
                  "NOT_AUTHORIZED",
                  "SUBSCRIPTION_CANCELLED",
                  "DATASET_ERROR",
                  "STORAGE_NOT_FOUND",
                  "NO_WORKSPACES_AVAILABLE",
                  "TARGET_REVIEW_STAGE_READONLY",
                  "TOO_MANY_ATTEMPTS",
                  "OUT_OF_SUBSCRIBED_ANNOTATION_CREDITS",
                  "SSO_SIGNUP_REQUIRED",
                  "TOO_MANY_PENDING_AI_REVIEW_BLUEPRINTS",
                  "NOTHING_TO_EXPORT",
                  "TARGET_STAGE_TYPE_INVALID",
                  "PAYMENT_NOT_SETUP",
                  "AWS_MARKETPLACE_FULFILLMENT_INCOMPLETE",
                  "MISSING_SELECT_ALL_FILTER",
                  "DUPLICATED_ITEM_FULL_PATH",
                  "UPLOAD_VIDEO_READONLY_STORAGE_MISSING_FRAME_SPECS",
                  "PATH_ALREADY_TAKEN",
                  "TARGET_ALREADY_ANNOTATED",
                  "FILTER_VALIDATION_ERROR",
                  "OPERATION_ALREADY_IN_PROGRESS",
                  "DATASET_NOT_FOUND",
                  "INVALID_URL",
                  "ALREADY_IN_WORKFLOW",
                  "ASSIGN_NOT_ALL_ITEMS_ASSIGNABLE",
                  "INCOMPATIBLE_DATASET_VERSION",
                  "ALREADY_HAS_ANNOTATIONS",
                  "BILLING_ADDRESS_INFO_MISSING",
                  "INVALID_REQUEST",
                  "GATED_FEATURE_EXTERNAL_MODEL_REGISTRATION"
                ],
                "type": "string",
                "x-struct": null,
                "x-validate": null
              },
              "detail": {
                "nullable": true,
                "type": "object",
                "x-struct": null,
                "x-validate": null
              },
              "message": {
                "example": "Error message",
                "nullable": true,
                "type": "string",
                "x-struct": null,
                "x-validate": null
              },
              "status": {
                "example": 422,
                "nullable": false,
                "type": "integer",
                "x-struct": null,
                "x-validate": null
              }
            },
            "required": [
              "message"
            ],
            "type": "object",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "errors"
        ],
        "title": "Common.APIError",
        "type": "object",
        "x-struct": "Elixir.GraphotateWeb.Schemas.Common.APIError",
        "x-validate": null
      },
      "Common.UUID": {
        "example": "e23ff3f3-8f77-4e78-9e81-fdb25abfb781",
        "format": "uuid",
        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
        "title": "Common.UUID",
        "type": "string",
        "x-struct": "Elixir.GraphotateWeb.Schemas.Common.UUID",
        "x-validate": null
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "description": "Prefix the value with 'ApiKey '.",
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      },
      "BearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "Darwin",
    "version": "1.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/api/v2/teams/{team_slug}/datasets/labels/{id}": {
      "delete": {
        "callbacks": {},
        "description": "  Delete a dataset label for a given team.\n",
        "operationId": "dataset-labels-delete",
        "parameters": [
          {
            "description": "Team's sluggified name",
            "example": "my-team",
            "in": "path",
            "name": "team_slug",
            "required": true,
            "schema": {
              "type": "string",
              "x-struct": null,
              "x-validate": null
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Common.UUID"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/JsonErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/Common.APIError"
                    }
                  ],
                  "x-struct": null,
                  "x-validate": null
                }
              }
            },
            "description": "Unprocessible Entity"
          }
        },
        "summary": "Delete a dataset label",
        "tags": [
          "Dataset Labels"
        ]
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    },
    {
      "ApiKeyAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://darwin.v7labs.com",
      "variables": {}
    }
  ]
}
```