API ReferenceGuidesChangelog
Analytics

Save Sharing SQL

Save or update sharing settings for a SQL query.

POST
/v1/analytics/sql/sharing

Authorization

api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/analytics/sql/sharing" \  -H "Content-Type: application/json" \  -d '{}'
{  "createdAt": "2019-08-24T14:15:22Z",  "isPublic": true,  "queryId": "string",  "sharingId": "string",  "updatedAt": "2019-08-24T14:15:22Z"}