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

# Delete a security policy



## OpenAPI

````yaml delete /organization/{organizationId}/policies/{policyId}
openapi: 3.0.0
info:
  title: Cybedefend API
  description: >-
    CybeDefend is an advanced API for application security analysis. Key
    features include OAuth 2.0 authentication, user/organization/project
    management, and REBAC-based permissions. It excels in static, dynamic, and
    IaC security analyses (SAST, DAST, IaC, etc.).
  version: '1.0'
  contact: {}
servers:
  - url: https://api-eu.cybedefend.com
    description: EU
  - url: https://api-us.cybedefend.com
    description: US
security: []
tags: []
paths:
  /organization/{organizationId}/policies/{policyId}:
    delete:
      tags:
        - Policy
      summary: Delete a security policy
      operationId: PolicyController_deletePolicy
      parameters:
        - name: organizationId
          required: true
          in: path
          schema:
            format: uuid
            type: string
        - name: policyId
          required: true
          in: path
          schema:
            format: uuid
            type: string
      responses:
        '200':
          description: Policy deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletePolicyResponseDto'
      security:
        - bearer: []
components:
  schemas:
    DeletePolicyResponseDto:
      type: object
      properties:
        success:
          type: boolean
          description: Whether the deletion was successful
          example: true
        message:
          type: string
          description: Message
          example: Policy deleted successfully
      required:
        - success
        - message
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: JWT access token.

````