Skip to content

place.stream.moderation.deleteGate

Lexicon Version: 1

Type: procedure

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.

Parameters: (None defined)

Input:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
streamerstringThe DID of the streamer.Format: did
gateUristringThe AT-URI of the gate record to delete.Format: at-uri

Output:

  • Encoding: application/json
  • Schema:

Schema Type: object

(No properties defined) Possible Errors:

  • Unauthorized: The request lacks valid authentication credentials.
  • Forbidden: The caller does not have permission to unhide messages for this streamer.
  • SessionNotFound: The streamer’s OAuth session could not be found or is invalid.

{
"lexicon": 1,
"id": "place.stream.moderation.deleteGate",
"defs": {
"main": {
"type": "procedure",
"description": "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.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["streamer", "gateUri"],
"properties": {
"streamer": {
"type": "string",
"format": "did",
"description": "The DID of the streamer."
},
"gateUri": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of the gate record to delete."
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"properties": {}
}
},
"errors": [
{
"name": "Unauthorized",
"description": "The request lacks valid authentication credentials."
},
{
"name": "Forbidden",
"description": "The caller does not have permission to unhide messages for this streamer."
},
{
"name": "SessionNotFound",
"description": "The streamer's OAuth session could not be found or is invalid."
}
]
}
}
}