tools.ozone.set.deleteValues

Delete values from a specific set. Attempting to delete values that are not in the set will not result in an error

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

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.nameNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.values.itemsNo maxLength, maxGraphemes or format limits this string.
  • endpoint-output-undefined defs.mainNo output is defined. Endpoints should define one, even an empty one.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Delete values from a specific set. Attempting to delete values that are not in the set will not 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 values from",
              "type": "string"
            },
            "values": {
              "description": "Array of string values to delete from the set",
              "items": {
                "type": "string"
              },
              "minLength": 1,
              "type": "array"
            }
          },
          "required": [
            "name",
            "values"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "tools.ozone.set.deleteValues",
  "lexicon": 1
}