social.colibri.beta.community.deleteInvitation
Deletes an invitation code.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | community.beta.colibri.social |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.codeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Deletes an invitation code.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The requesting user lacks the invitation.delete permission.",
"name": "Forbidden"
},
{
"description": "No community exists with that DID.",
"name": "CommunityNotFound"
},
{
"description": "No invitation exists with that code.",
"name": "InvitationNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"code": {
"description": "The invitation code to delete.",
"type": "string"
},
"community": {
"description": "The community the invitation belongs to.",
"format": "did",
"type": "string"
}
},
"required": [
"community",
"code"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"required": [],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.colibri.beta.community.deleteInvitation",
"lexicon": 1
}