Delete a gate (unhide message) on behalf of a streamer. Requires 'hide' permission. Deletes a place.stream.chat.gate record from the streamer's repository.
POST
/xrpc/place.stream.moderation.deleteGate
const url = 'https://example.com/xrpc/place.stream.moderation.deleteGate';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"streamer":"example","gateUri":"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.moderation.deleteGate \ --header 'Content-Type: application/json' \ --data '{ "streamer": "example", "gateUri": "https://example.com" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
streamer
required
The DID of the streamer.
string format: did
gateUri
required
The AT-URI of the gate record to delete.
string format: uri
Example generated
{ "streamer": "example", "gateUri": "https://example.com"}Responses
Section titled “Responses”Success
Media typeapplication/json
object
Example generated
{}Bad Request
