Deny an incoming teleport request.
POST
/xrpc/place.stream.live.denyTeleport
const url = 'https://example.com/xrpc/place.stream.live.denyTeleport';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"uri":"https://example.com"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/xrpc/place.stream.live.denyTeleport \ --header 'Content-Type: application/json' \ --data '{ "uri": "https://example.com" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
uri
required
The URI of the teleport record to deny.
string format: uri
Example generated
{ "uri": "https://example.com"}Responses
Section titled “Responses”Success
Media typeapplication/json
object
success
required
Whether the teleport was successfully denied.
boolean
Example generated
{ "success": true}Bad Request
