Skip to main content
Most users should reach for slideless unshare. This endpoint is the raw HTTP surface it wraps.

When to use

You want to stop serving existing viewer URLs. The deck remains editable; to remove it entirely, use deletePresentation instead.

Endpoint

POST https://europe-west1-slideless-ai.cloudfunctions.net/unsharePresentation

Authentication

Authorization: Bearer <key> — owner only.

Request body

{
  "presentationId": "01HXYZ...",
  "tokenId": "01H..."   // optional — omit to revoke every token
}

Response

{
  "success": true,
  "data": {
    "success": true,
    "tokensRevoked": 3
  }
}

Errors

StatusCodeCause
401unauthenticatedMissing/invalid key
403permission-deniedNot the owner
404not-foundpresentationId unknown
404token-not-foundtokenId not on that deck