# at.nsid.cobalt.label.createLabel

> Published by [bnewbold.net](https://lexicon.garden/identity/did:plc:44ybard66vv44zksje25o7dz)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:44ybard66vv44zksje25o7dz/at.nsid.cobalt.label.createLabel)
- [Documentation](https://lexicon.garden/lexicon/did:plc:44ybard66vv44zksje25o7dz/at.nsid.cobalt.label.createLabel/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:44ybard66vv44zksje25o7dz/at.nsid.cobalt.label.createLabel/examples)

## Definitions

### `at.nsid.cobalt.label.createLabel`

**Type**: `procedure`

Generates and persists a single new label. Overwrites any existing label with the same (src, uri, cid, val).

#### Input

**Encoding**: `application/json`

#### Output

**Encoding**: `application/json`

## Raw Schema

```json
{
  "id": "at.nsid.cobalt.label.createLabel",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "ref": "at.nsid.cobalt.label.defs#labelRequest",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "ref": "com.atproto.label.def#label",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "Generates and persists a single new label. Overwrites any existing label with the same (src, uri, cid, val)."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
