Revoke a watch link
The link opens for nobody from then on, and its streams end with `link_revoked`.
DELETE/v1/screen/watch-links/{link_id}
Not available yet The API does not serve a screen's tree, live stream, takeovers, watch links or recordings yet.
The link opens for nobody from then on, and its streams end with link_revoked. A repeat is a no-op.
A key with the screen:write scope.
Request
curl -X DELETE "https://api.pod.mapier.ai/v1/screen/watch-links/wlk_3ahrz6dmv29gqy5ckt18fpx4b" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
link_id | path | string | Yes | |
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Answer
204. Revoked.
Errors
The refusals this call is known for: not_found, in_other_cell. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.
In the SDKs
| Client | Call |
|---|---|
| TypeScript | sandbox.screen.revokeWatchLink(linkId) |
| Python | sandbox.screen.revoke_watch_link(link_id) |