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

NameInTypeRequiredWhat it is
link_idpathstringYes
Idempotency-KeyheaderstringNoMakes 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

ClientCall
TypeScriptsandbox.screen.revokeWatchLink(linkId)
Pythonsandbox.screen.revoke_watch_link(link_id)