---
title: "deleteTarget"
method: DELETE
path: "/v1/target/{targetId}"
tags: ["Target"]
---

# deleteTarget

`DELETE /v1/target/{targetId}`

Delete a specific target entity by a given id

## Path parameters

- `targetId` string, uuid, required

## Response `200`

Target entity response

- Target
  - `_id` string, uuid
  - `_schema` 'target', required
  - `_org` string, required — Organization Id the entity belongs to
  - `_tags` string[], nullable
  - `_files` BaseRelation
    - `$relation` object[]
      - `entity_id` string, uuid
      - `_tags` string[], nullable
  - `_owners` BaseEntityOwner[]
    - `org_id` string, required
    - `user_id` string
  - `_title` string
  - `_created_at` string, date-time
  - `_updated_at` string, date-time
  - `_acl` BaseEntityAcl — Access control list (ACL) for an entity. Defines sharing access to external orgs or users.
    - `view` string[]
    - `edit` string[]
    - `delete` string[]
  - `name` string, required — The description for the target
  - `description` string — The description of the target
  - `entity_schema` string — The schema of the target entities
  - `entity_filters` object — The filters on the targeted schema
    - `filter` object
      - `items` object[] — The list of applied filters on targeted schema
        - `key` string — The key of the filter
        - `operator` string — The operator of the filter
        - `value` union
          - string
          - string[]
      - `combination` string — The combination of the filters
  - `_purpose` string[], nullable
  - `_manifest` string[] — Manifest ID used to create/update the entity
  - `__additional` object, nullable — Additional fields that are not part of the schema

## Other responses

- `400` — Any error based on client data errors
- `500` — Any error based on the server-side

---

[API](https://skmtc.net/epilot/apis/target-api.md) · [All operations](https://skmtc.net/epilot/apis/target-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/epilot/target-api/versions/f31ca7b2b90a/schema)
