Docs
Previews

Revoke a preview link

DELETE/preview-sessions/{id}Needscontent.view

Stops the link working right away. Idempotent.

Authorization

secretKey
headerAuthorizationBearer <sk_…>

A secret API key from Settings → API keys. It acts with its creator's role.

Path Parameters

id*string

The session's id.

Response Body

OK

application/json
  1. response
success*unknown
Shell
curl -X DELETE 'https://app.cueston.com/api/preview-sessions/string'
Example Response
JSON
{
  "success": true
}