cURL
curl --request POST \ --url https://api.example.com/api/v1/files/signed-cookies \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspaceId": "<string>" } '
{ "detail": "<string>" }
Set http-only, secure (signed) cookies for accessing (only READ access) files via AWS CloudFront across all accessible workspaces. If no workspace id is provided, no cookies will be set.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Must be set to access files within workspace
Signed cookies set successfully
Was this page helpful?