cURL
curl --request POST \ --url https://api.chartbrew.com/project/{project_id}/chart/{id}/share/policy \ --header 'Authorization: Bearer <token>'
{ "id": 123, "entity_type": "Project", "entity_id": 123, "params": [ { "key": "<string>", "value": "<string>" } ], "allow_params": false, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Create a share policy for a chart to enable secure embedding with signed URLs
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the project
ID of the chart
Created chart share policy
Project
Chart
Parameters to pass to variables in the dashboard's charts
Show child attributes
Whether to allow parameters to be passed via URL