Pinecone · Example Payload

Pinecone Delete Index Example

Vector DatabasesAIEmbeddingsRAG

Pinecone Delete Index Example is an example object payload from Pinecone, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "delete_index",
  "method": "DELETE",
  "path": "/indexes/{index_name}",
  "summary": "Delete an index",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "401",
      "contentType": "application/json",
      "name": "unauthorized",
      "example": {
        "error": {
          "code": "UNAUTHENTICATED",
          "message": "Invalid API key."
        },
        "status": 401
      }
    },
    {
      "status": "403",
      "contentType": "application/json",
      "name": "deletion-protection",
      "example": {
        "error": {
          "code": "FORBIDDEN",
          "message": "Deletion protection is enabled for this index. Disable deletion protection before retrying."
        },
        "status": 403
      }
    },
    {
      "status": "404",
      "contentType": "application/json",
      "name": "index-not-found",
      "example": {
        "error": {
          "code": "NOT_FOUND",
          "message": "Index example-index not found."
        },
        "status": 404
      }
    },
    {
      "status": "412",
      "contentType": "application/json",
      "name": "pending-collection",
      "example": {
        "error": {
          "code": "FAILED_PRECONDITION",
          "message": "Unable to delete an index. There are pending collections for this index: ['test-collection']"
        },
        "status": 412
      }
    },
    {
      "status": "500",
      "contentType": "application/json",
      "name": "internal-server-error",
      "example": {
        "error": {
          "code": "UNKNOWN",
          "message": "Internal server error"
        },
        "status": 500
      }
    }
  ]
}