social.colibri.beta.community.kick
Removes a member from a community. The member may rejoin unless the community requires approval to join.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | community.beta.colibri.social |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Removes a member from a community. The member may rejoin unless the community requires approval to join.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The caller lacks the member.kick permission.",
"name": "Forbidden"
},
{
"description": "No community exists at the given DID.",
"name": "CommunityNotFound"
},
{
"description": "The subject does not hold a member record in this community.",
"name": "MemberNotFound"
},
{
"description": "The subject holds a role at or above the caller's highest role position.",
"name": "RoleHierarchy"
},
{
"description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
"name": "CredentialsUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"community": {
"description": "The community to remove the member from.",
"format": "did",
"type": "string"
},
"reason": {
"description": "Human-readable reason for the kick.",
"maxLength": 512,
"type": "string"
},
"subject": {
"description": "The member to remove.",
"format": "did",
"type": "string"
}
},
"required": [
"community",
"subject"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.colibri.beta.community.kick",
"lexicon": 1
}