DELETE
/
project
/
{project_id}
/
chart
/
{chart_id}
/
share
/
policy
/
{policy_id}
cURL
curl --request DELETE \
  --url https://api.chartbrew.com/project/{project_id}/chart/{chart_id}/share/policy/{policy_id} \
  --header 'Authorization: Bearer <token>'
{
  "deleted": true
}
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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

chart_id
string
required

ID of the chart

policy_id
string
required

ID of the share policy

Response

200 - application/json

Deleted share policy

The response is of type object.