Skip to main content
DELETE
Deletes a preview share. Revocation takes effect once the holder’s current preview cookie expires — a few minutes — rather than instantly. To cut access off immediately, pause or destroy the session as well. Get share_id from List Preview Shares. Required scope: sessions:write
From the CLI: runtm-api session share revoke <session_id> <share_id>

Path Parameters

string
required
The session ID (e.g. ses_abc123).
string
required
The share ID. Scoped by session, so an id alone is not enough to revoke.

Headers

string
required
Bearer token. Example: Bearer runtm_xxx
string
Scope to an organization.

Response

boolean
true when the share was deleted. Returns 404 when no such share exists on this session.