social.colibri.community.banUser
Bans a user from a community.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | community.colibri.social |
| Indexed |
Showing version bafyreifz4jdhtc73uc5f5bee243l574rhzv7alzmplwiotahn7i4iikamm. Show the latest
Checks
Validunlimited-stringdefs.main.parameters.properties.identifierNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Bans a user from a community.",
"errors": [
{
"description": "Missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The caller lacks the permission this method requires.",
"name": "Forbidden"
},
{
"description": "A parameter or body field was missing or malformed.",
"name": "InvalidRequest"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"handle": {
"format": "handle",
"type": "string"
}
},
"required": [
"did",
"handle"
],
"type": "object"
}
},
"parameters": {
"properties": {
"community": {
"format": "at-uri",
"type": "string"
},
"identifier": {
"description": "DID or handle of the user to ban.",
"type": "string"
}
},
"required": [
"community",
"identifier"
],
"type": "params"
},
"type": "procedure"
}
},
"id": "social.colibri.community.banUser",
"lexicon": 1
}