# buzz.bookhive.resyncAccount

> Re-sync BookHive book records from the signed-in user's PDS. Requires a live OAuth session; service auth is not sufficient. Completes before returning success. Accepts only an empty JSON object.

- Kind: procedure
- Authority: bookhive.buzz
- Lexicon: 1
- Published by [bookhive.buzz](https://lexicon.garden/identity/did:plc:enu2j5xjlqsjaylv3du4myh4), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.resyncAccount)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.resyncAccount/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.resyncAccount/analytics)

## Procedure (`buzz.bookhive.resyncAccount`)

Type: procedure · POST

### Input (application/json)


### Output (application/json)

- `success` (boolean, required)
  - Constraints: const: true

### Errors

- `ResyncFailed`: Re-sync failed; retry manually.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Re-sync BookHive book records from the signed-in user's PDS. Requires a live OAuth session; service auth is not sufficient. Completes before returning success. Accepts only an empty JSON object.",
      "errors": [
        {
          "description": "Re-sync failed; retry manually.",
          "name": "ResyncFailed"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "success": {
              "const": true,
              "type": "boolean"
            }
          },
          "required": [
            "success"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "buzz.bookhive.resyncAccount",
  "lexicon": 1
}
```
