tools.ozone.set.deleteSet

Delete an entire set. Attempting to delete a set that does not exist will result in an error.

Details · procedure
Kindprocedure
Authorityset.ozone.tools
Indexed
cid bafyreibglm7a2ic3csidcimhoevn4oe7nakx3b7w7ysjms22qid66nfixe

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.nameNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Delete an entire set. Attempting to delete a set that does not exist will result in an error.",
      "errors": [
        {
          "description": "set with the given name does not exist",
          "name": "SetNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "name": {
              "description": "Name of the set to delete",
              "type": "string"
            }
          },
          "required": [
            "name"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "tools.ozone.set.deleteSet",
  "lexicon": 1
}