# tools.ozone.set.deleteValues

> Published by [ozone-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:33dt5kftu3jq2h5h4jjlqezt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.set.deleteValues)
- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.set.deleteValues/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.set.deleteValues/examples)

## Definitions

### `tools.ozone.set.deleteValues`

**Type**: `procedure`

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

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | Name of the set to delete values from |
| `values` | `array` | Yes | Array of string values to delete from the set |

#### Errors

- **SetNotFound**: set with the given name does not exist

## Raw Schema

```json
{
  "id": "tools.ozone.set.deleteValues",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "name",
            "values"
          ],
          "properties": {
            "name": {
              "type": "string",
              "description": "Name of the set to delete values from"
            },
            "values": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minLength": 1,
              "description": "Array of string values to delete from the set"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "SetNotFound",
          "description": "set with the given name does not exist"
        }
      ],
      "description": "Delete values from a specific set. Attempting to delete values that are not in the set will not result in an error"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
