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

# Delete Chart Share Policy

> Delete a share policy for a chart

This endpoint deletes an existing SharePolicy for a chart, which enables advanced sharing features including:

* Signed URL generation with expiration dates
* Parameter passing to chart variables
* Control over URL parameter allowance
* Enhanced security for embedded charts


## OpenAPI

````yaml DELETE /project/{project_id}/chart/{chart_id}/share/policy/{policy_id}
openapi: 3.0.1
info:
  title: Chartbrew API reference
  description: The OpenAPI specification for Chartbrew
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.chartbrew.com
security:
  - bearerAuth: []
paths:
  /project/{project_id}/chart/{chart_id}/share/policy/{policy_id}:
    delete:
      description: Delete a share policy for a chart
      parameters:
        - name: project_id
          in: path
          description: ID of the project
          required: true
          schema:
            type: string
        - name: chart_id
          in: path
          description: ID of the chart
          required: true
          schema:
            type: string
        - name: policy_id
          in: path
          description: ID of the share policy
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Deleted share policy
          content:
            application/json:
              schema:
                type: object
                properties:
                  deleted:
                    type: boolean
                    example: true
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````