# town.muni.arbiter.createDid

> Published by [zicklag.dev](https://lexicon.garden/identity/did:plc:ulg2bzgrgs7ddjjlmhtegk3v)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ulg2bzgrgs7ddjjlmhtegk3v/town.muni.arbiter.createDid)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ulg2bzgrgs7ddjjlmhtegk3v/town.muni.arbiter.createDid/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ulg2bzgrgs7ddjjlmhtegk3v/town.muni.arbiter.createDid/examples)

## Definitions

### `town.muni.arbiter.createDid`

**Type**: `procedure`

Create a new DID that will be managed by this service.

A new arbiter will be created in order to manage access
to the DID. The arbiter will be configured with a default
policy that sets the creator as the owner of the arbiter
and allows them to change the DID document.

The policy can also be changed later.

The created DID will be returned

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |

## Raw Schema

```json
{
  "id": "town.muni.arbiter.createDid",
  "defs": {
    "main": {
      "type": "procedure",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "did"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Create a new DID that will be managed by this service.\n\nA new arbiter will be created in order to manage access\nto the DID. The arbiter will be configured with a default\npolicy that sets the creator as the owner of the arbiter\nand allows them to change the DID document.\n\nThe policy can also be changed later.\n\nThe created DID will be returned"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
