# ForeignArchiveChoices

First published 14 Oct 2026 (release 0.2.0) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

These options apply when inspecting or importing a tracked archive. They have the same meaning as in ForeignImportRequest.

## Fields

- `as` (Username): Username to assign to the imported account. Defaults to the username in the archive.
- `default_mailbox` (string, matching ^[a-z0-9]([a-z0-9._-]{0,62}[a-z0-9])?$)
- `paths` (string, one of rewrite, leave)
- `skip_databases` (array of string, matching ^[A-Za-z0-9_]{1,64}$)

## Used by

- [POST /foreign/archives/{id}/import](https://urbestack.com/docs/api/post-foreign-archives-id-import.md): Queue an import for a tracked archive
- [POST /foreign/archives/{id}/inspect](https://urbestack.com/docs/api/post-foreign-archives-id-inspect.md): Inspect a tracked archive and save the report
