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

# Delete Guardrail

> Delete an existing guardrail



## OpenAPI

````yaml DELETE /guardrails/delete-guardrail
openapi: 3.0.0
info:
  title: Enkrypt AI APIs
  version: 2.0.0
servers:
  - url: https://api.enkryptai.com
security:
  - apiKeyAuth: []
tags:
  - name: Guardrails
  - name: Code of Conduct
  - name: Endpoints
  - name: Datasets
  - name: Redteam
  - name: Deployments
  - name: AI Proxy
  - name: Leaderboard
  - name: Archived
  - name: MCP Hub
    description: >-
      MCP Hub vulnerability scanning APIs. Submitting scans (the POST endpoints)
      is open to all authenticated callers. The scan **retrieval** APIs — Get
      Scan Job Status, Get Complete Scan Results, List Scans, and Get MCP Hub
      Scan Statistics (the GET endpoints) — are an **enterprise data-license
      feature**: they require your organization to have MCP Hub API access
      enabled by Enkrypt, otherwise they return `403`. Contact us at
      support@enkryptai.com to enable access.
  - name: MCP Registry Servers
  - name: MCP Gateways
  - name: MCP Playground
paths:
  /guardrails/delete-guardrail:
    delete:
      tags:
        - Guardrails
      summary: Delete Guardrail
      description: Deletes a guardrail by name.
      operationId: delete_guardrail
      parameters:
        - name: X-Enkrypt-Guardrail
          in: header
          required: true
          schema:
            title: Guardrail Name
            type: string
            description: The guardrail name
            example: My Guardrail
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteGuardrailResponseObject'
components:
  schemas:
    DeleteGuardrailResponseObject:
      title: DeleteGuardrailResponseObject
      type: object
      properties:
        message:
          title: Message
          type: string
          example: Guardrail details deleted successfully
        data:
          title: DeleteGuardrailResponseObjectData
          type: object
          properties:
            policy_id:
              title: Guardrail ID
              type: integer
              example: 1234567890
            project_name:
              title: Project Name
              type: string
              example: default
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: apikey

````