> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lyzr.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Tool Credential Endpoint

### Description

This endpoint deletes a tool credential permanently.

### Endpoint

**DELETE** `/v3/tools/credentials/{credential_id}`

### Authentication

API Key (x-api-key) must be included in the header.

### Path Parameters

* `credential_id` (string) - The ID of the credential to delete.

### Response

A message confirming that the credential was deleted.

### Example Request

```sh theme={null}
curl -X DELETE "https://agent-prod.studio.lyzr.ai/v3/tools/credentials/credential_id" ^
-H "accept: application/json" ^
-H "x-api-key: sk-default-EXAMPLEKEY123"
```


## OpenAPI

````yaml delete /tools/credentials/{credential_id}
openapi: 3.0.3
info:
  title: Lyzr Tool Credential API
  version: 1.0.0
servers:
  - url: https://agent-prod.studio.lyzr.ai/v3
security: []
paths:
  /tools/credentials/{credential_id}:
    delete:
      tags:
        - Tool Credentials
      summary: Delete Tool Credential
      description: Permanently deletes a tool credential by ID.
      operationId: deleteToolCredential
      parameters:
        - name: credential_id
          in: path
          required: true
          description: The ID of the credential to delete.
          schema:
            type: string
      responses:
        '200':
          description: Credential deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Credential deleted successfully.
        '401':
          description: Unauthorized – API key missing or invalid
        '404':
          description: Not Found – Credential not found
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````