social.colibri.beta.channel.delete

Deletes a channel's space. Messages members wrote in it stay in their own repos and become unreadable to everyone but their authors.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · procedure
Kindprocedure
Authoritychannel.beta.colibri.social
Indexed
cid bafyreifedzdcjsb4ktrzd4jl2p5wu6vbgxtigh54mah2aof6fmlylmr5ku

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Deletes a channel's space. Messages members wrote in it stay in their own repos and become unreadable to everyone but their authors.",
      "errors": [
        {
          "description": "The request has no valid service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "The requesting user lacks the channel.delete permission.",
          "name": "Forbidden"
        },
        {
          "description": "No channel matches the given space reference.",
          "name": "ChannelNotFound"
        },
        {
          "description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
          "name": "CredentialsUnavailable"
        },
        {
          "description": "The community's PDS is unreachable or the AppView has no administrative access to it.",
          "name": "PdsUnavailable"
        },
        {
          "description": "The community's PDS failed while deleting the channel's space.",
          "name": "UpstreamFailure"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "channel": {
              "description": "The channel to delete.",
              "format": "space-ref",
              "type": "string"
            }
          },
          "required": [
            "channel"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.colibri.beta.channel.delete",
  "lexicon": 1
}