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

# Delete a guardrail

> Deletes a guardrail. The organization default and a guardrail still assigned to a role, a member or an active key cannot be deleted (409): unassign it first, or pause it instead. Requires the `manage:write` scope.



## OpenAPI

````yaml https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/guardrails/{guardrail_id}/
openapi: 3.0.3
info:
  title: Organization Management
  version: '2.0'
  description: Your project description
servers:
  - url: https://api.edenai.run
security: []
paths:
  /v3/manage/guardrails/{guardrail_id}/:
    delete:
      tags:
        - Guardrails
      summary: Delete a guardrail
      description: >-
        Deletes a guardrail. The organization default and a guardrail still
        assigned to a role, a member or an active key cannot be deleted (409):
        unassign it first, or pause it instead. Requires the `manage:write`
        scope.
      operationId: manage_guardrails_destroy
      parameters:
        - in: path
          name: guardrail_id
          schema:
            type: integer
          description: The guardrail's id.
          required: true
      responses:
        '204':
          description: No response body
      security:
        - ManagementKeyAuth: []
components:
  securitySchemes:
    ManagementKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: >-
        A management key (created from the organization dashboard or with `POST
        /v3/manage/auth-keys`), sent as `Authorization: Bearer
        <management_key>`. Inference API keys (`sk-eden...`) are not accepted on
        these endpoints.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.