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

# Delete Identifier

> Delete an identifier of the tenant the caller is acting in and return an empty object. The identifiers derived from it (its children) are disabled as part of the deletion. Requires write access to the identifier. Deprecated: use `DELETE /firework/v4/identifiers/{identifier_id}` instead.

&#x20;Required API key permission: **Write Tenant**

> [!WARNING]
>
> **DEPRECATED:** This endpoint should be replaced by
> [/firework/v4/identifiers/\{identifier\_id} ](https://api.docs.flare.io/api-reference/v4/endpoints/identifiers/delete-an-identifier.md)


## OpenAPI

````yaml firework-v2-openapi delete /firework/v2/assets/{asset_id}
openapi: 3.0.1
info:
  description: >

    Manage and access Firework resources.


    Requests are authenticated with API tokens, which are obtained using an API
    key:


    1. Generate an API key from the [Profile
    page](https://app.flare.io/#/profile).

    2. Send a `POST` request to `https://api.flare.io/tokens/generate` with the
    `Authorization: <api-key>` header to get an API token. API tokens expire
    after 1 hour.

    3. Call the API endpoints with the `Authorization: Bearer <api-token>`
    header.


    See [Authentication](https://api.docs.flare.io/concepts/authentication) for
    details.
  title: Firework API
  version: v2
servers:
  - url: https://api.flare.io/
security:
  - BearerAuth: []
tags:
  - description: >-
      The authenticated user, its API keys, organizations, tenants, onboarding
      and usage.
    name: Account
  - description: >-
      Events collected by Flare: global search, tenant and identifier feeds,
      event details, actions and saved feed views.
    name: Events
  - description: >-
      Identifiers are the assets a tenant monitors, such as domains, keywords
      and email addresses. Includes recommendations and authorization of
      sensitive identifiers.
    name: Identifiers
  - description: Report groups, reports, their sections, schedules and delivery channels.
    name: Reports
paths:
  /firework/v2/assets/{asset_id}:
    delete:
      tags:
        - Identifiers
      summary: Delete an identifier
      description: >-
        Delete an identifier of the tenant the caller is acting in and return an
        empty object. The identifiers derived from it (its children) are
        disabled as part of the deletion. Requires write access to the
        identifier. Deprecated: use `DELETE
        /firework/v4/identifiers/{identifier_id}` instead.
      operationId: delete_asset_api
      parameters:
        - description: ID of the identifier.
          in: path
          name: asset_id
          required: true
          schema:
            type: integer
      responses:
        '200':
          content: {}
          description: The identifier was deleted.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: >-
            The identifier has a hidden source that only Flare staff can access
            (`INVALID_IDENTIFIER_SOURCE`).
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: The caller lacks the required permission (`FORBIDDEN`).
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: The identifier does not exist in the caller's tenant.
      deprecated: true
components:
  schemas:
    HttpError:
      properties:
        message:
          description: Human-readable description of the error.
          type: string
        code:
          description: Machine-readable error code.
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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