---
updatedAt: 2026-10-06T17:40:47.000Z
agentTools:
  projectIndex: https://docs.akeyless.io/llms.txt
---

# /delete-items

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "contact": {
      "email": "support@akeyless.io",
      "name": "Akeyless",
      "url": "http://akeyless.io"
    },
    "description": "The purpose of this application is to provide access to Akeyless API.",
    "title": "Account Settings",
    "version": "3.0"
  },
  "paths": {
    "/delete-items": {
      "post": {
        "operationId": "deleteItems",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/deleteItems"
              }
            }
          },
          "required": true,
          "x-go-name": "Body"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/deleteItemsResponse"
          },
          "default": {
            "$ref": "#/components/responses/errorResponse"
          }
        },
        "tags": [
          "General"
        ],
        "x-docs-category": "Account Settings",
        "x-docs-group": "General"
      }
    }
  },
  "tags": [
    {
      "name": "General"
    }
  ],
  "x-readme": {
    "apply-tag-changes": true
  },
  "servers": [
    {
      "url": "https://api.akeyless.io"
    }
  ],
  "components": {
    "responses": {
      "deleteItemsResponse": {
        "description": "deleteItemsResponse wraps response body.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/deleteItemsOutput"
            }
          }
        }
      },
      "errorResponse": {
        "description": "errorResponse wraps any error to return it as a JSON object with one \"error\"\nfield.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/JSONError"
            }
          }
        }
      }
    },
    "schemas": {
      "JSONError": {
        "properties": {
          "error": {
            "type": "string",
            "x-go-name": "Err"
          }
        },
        "title": "JSONError wraps an error with JSON object.",
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client"
      },
      "deleteItems": {
        "properties": {
          "item": {
            "description": "A list of items to delete, To specify multiple items use argument multiple times",
            "items": {
              "type": "string"
            },
            "type": "array",
            "x-go-name": "Items"
          },
          "json": {
            "default": false,
            "description": "Set output format to JSON",
            "type": "boolean",
            "x-go-name": "Json"
          },
          "path": {
            "description": "Path to delete the items from",
            "type": "string",
            "x-go-name": "Path"
          },
          "token": {
            "description": "Authentication token (see `/auth` and `/configure`)",
            "type": "string",
            "x-go-name": "Profile"
          },
          "uid-token": {
            "description": "The universal identity token, Required only for universal_identity authentication",
            "type": "string",
            "x-go-name": "UIDToken"
          }
        },
        "title": "deleteItems is a command that deletes multiple items from a given path.",
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      },
      "deleteItemsOutput": {
        "properties": {
          "deleted_items": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "x-go-name": "DeletedItems"
          },
          "failed_deleted_items": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object",
            "x-go-name": "FailedDeletedItems"
          },
          "path": {
            "type": "string",
            "x-go-name": "Path"
          }
        },
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      }
    }
  }
}
```