---
title: "Delete datastore item"
method: DELETE
path: "/api/v2/actions-datastores/{datastore_id}/items"
tags: ["Actions Datastores"]
---

# Delete datastore item

`DELETE /api/v2/actions-datastores/{datastore_id}/items`

Deletes an item from a datastore by its key.

## Path parameters

- `datastore_id` string, required

## Request body

- DeleteAppsDatastoreItemRequest — Request to delete a specific item from a datastore by its primary key.
  - `data` DeleteAppsDatastoreItemRequestData — Data wrapper containing the information needed to identify and delete a specific datastore item.
    - `attributes` DeleteAppsDatastoreItemRequestDataAttributes — Attributes specifying which datastore item to delete by its primary key.
      - `id` string — Optional unique identifier of the item to delete.
      - `item_key` string, required — The primary key value that identifies the item to delete. Cannot exceed 256 characters.
    - `type` 'items', required — The resource type for datastore items.

## Response `200`

OK

- DeleteAppsDatastoreItemResponse — Response from successfully deleting a datastore item.
  - `data` DeleteAppsDatastoreItemResponseData — Data containing the identifier of the datastore item that was successfully deleted.
    - `id` string — The unique identifier of the item that was deleted.
    - `type` 'items', required — The resource type for datastore items.

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `429` — Too many requests

---

[API](https://skmtc.dev/datadog/apis/api-v2.md) · [All operations](https://skmtc.dev/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
