# lol.dids.admin.createDenylist

> Published by [ngerakines.me](https://lexicon.garden/identity/did:plc:cbkjy5n7bk3ax2wplmtjofq2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.admin.createDenylist)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.admin.createDenylist/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.admin.createDenylist/examples)

## Definitions

### `lol.dids.admin.createDenylist`

**Type**: `procedure`

Deny a subject. This is the primary takedown mechanism: a denylisted subject stops serving within one broadcast whether it is reached through a site, a tile, or a parameter, and a denylisted space stops every domain registered to it.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `kind` | `string` | Yes |  |
| `reason` | `string` | No |  |
| `subject` | `string` | Yes | The hostname, DID, record AT-URI, CID, domain pattern, or space URI to deny. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `entry` | `ref` → `lol.dids.defs#denylistEntry` | Yes |  |

## Raw Schema

```json
{
  "id": "lol.dids.admin.createDenylist",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "kind",
            "subject"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "knownValues": [
                "domain",
                "did",
                "uri",
                "cid",
                "pattern",
                "space"
              ]
            },
            "reason": {
              "type": "string"
            },
            "subject": {
              "type": "string",
              "description": "The hostname, DID, record AT-URI, CID, domain pattern, or space URI to deny."
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "entry"
          ],
          "properties": {
            "entry": {
              "ref": "lol.dids.defs#denylistEntry",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Deny a subject. This is the primary takedown mechanism: a denylisted subject stops serving within one broadcast whether it is reached through a site, a tile, or a parameter, and a denylisted space stops every domain registered to it."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
