social.colibri.beta.category.delete

Deletes a category. Its channels are not deleted: they become uncategorised until moved to another category.

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Deletes a category. Its channels are not deleted: they become uncategorised until moved to another category.",
      "errors": [
        {
          "description": "The request is missing, malformed, or unverifiable service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "The caller lacks the category.delete permission.",
          "name": "Forbidden"
        },
        {
          "description": "No community exists at the given DID.",
          "name": "CommunityNotFound"
        },
        {
          "description": "No category exists at the given record key.",
          "name": "CategoryNotFound"
        },
        {
          "description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
          "name": "CredentialsUnavailable"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "category": {
              "description": "The category's record key.",
              "format": "record-key",
              "type": "string"
            },
            "community": {
              "description": "The community the category belongs to.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "community",
            "category"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.colibri.beta.category.delete",
  "lexicon": 1
}