# tools.umbrae.private.move

> Move the authenticated account's records into its private space, or back to its public repo, server-side, by the same rules as a client's batched move and without its rate limits. Optional: a PDS may serve it. Clients try it first and fall back to batches on MethodNotImplemented. Called on the account's own PDS with its session.

- Kind: procedure
- Authority: private.umbrae.tools
- Lexicon: 1
- Published by [lexicons.umbrae.tools](https://lexicon.garden/identity/did:plc:656sqbhftme2qbyjtcc2q6jk), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:656sqbhftme2qbyjtcc2q6jk/tools.umbrae.private.move)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:656sqbhftme2qbyjtcc2q6jk/tools.umbrae.private.move/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:656sqbhftme2qbyjtcc2q6jk/tools.umbrae.private.move/analytics)

## Procedure (`tools.umbrae.private.move`)

Type: procedure · POST

### Input (application/json)

- `direction` (string, required)
  - Constraints: knownValues: private | public

### Output (application/json)

- `refused` (array): Records the move left where they were because the other side refused them. The owner may delete them.
  - `items` (string · at-uri)

### Errors

- `SpaceNotFound`: The account has no private space.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Move the authenticated account's records into its private space, or back to its public repo, server-side, by the same rules as a client's batched move and without its rate limits. Optional: a PDS may serve it. Clients try it first and fall back to batches on MethodNotImplemented. Called on the account's own PDS with its session.",
      "errors": [
        {
          "description": "The account has no private space.",
          "name": "SpaceNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "direction": {
              "knownValues": [
                "private",
                "public"
              ],
              "type": "string"
            }
          },
          "required": [
            "direction"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "refused": {
              "description": "Records the move left where they were because the other side refused them. The owner may delete them.",
              "items": {
                "format": "at-uri",
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "tools.umbrae.private.move",
  "lexicon": 1
}
```
