---
title: "POST /delete-items"
method: POST
path: "/delete-items"
tags: ["General"]
---

# POST /delete-items

`POST /delete-items`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/delete-items`
- Auth: none declared

## Request body

- DeleteItems
  - `item` string[]: A list of items to delete, To specify multiple items use argument multiple times
  - `json` boolean: Set output format to JSON
  - `path` string: Path to delete the items from
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication

## Response `200`

deleteItemsResponse wraps response body.

- DeleteItemsOutput
  - `deleted_items` string[]
  - `failed_deleted_items` object
  - `path` string

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/account-settings.md) - [All operations](https://skmtc.dev/akeyless/apis/account-settings/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/account-settings/revisions/6beb28d274ac?raw)
