# pub.chive.admin.triggerDIDSync

> Published by [chive.pub](https://lexicon.garden/identity/did:plc:7natp5xae72bddaqlkef2t4e)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.admin.triggerDIDSync)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.admin.triggerDIDSync/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.admin.triggerDIDSync/examples)

## Definitions

### `pub.chive.admin.triggerDIDSync`

**Type**: `procedure`

Trigger a full repository sync for a specific DID

#### Input

**Encoding**: `application/json`

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

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `operationId` | `string` | Yes | ID of the started backfill operation |

#### Errors

- **AuthenticationRequired**
- **AdminRequired**
- **InvalidRequest**

## Raw Schema

```json
{
  "id": "pub.chive.admin.triggerDIDSync",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "did"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did",
              "description": "DID to sync"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "operationId"
          ],
          "properties": {
            "operationId": {
              "type": "string",
              "description": "ID of the started backfill operation"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Trigger a full repository sync for a specific DID"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
