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
| Kind | procedure |
|---|---|
| Authority | set.ozone.tools |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.values.itemsNo maxLength, maxGraphemes or format limits this string.endpoint-output-undefineddefs.mainNo output is defined. Endpoints should define one, even an empty one.
{
"$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
}