postV1EmailWorkspacesIdAccounts

Import accounts into an email workspace

  • accounts
    Type: array string[]
    required

    Email addresses to link to the workspace.

  • account_id
    Type: integerFormat: int32

    When relinking in IMAP-only mode, the ID of the existing account to attach the OAuth credentials to.

  • imap_only
    Type: boolean

    Relink an existing IMAP account to the workspace OAuth credentials. Requires a single element in accounts and an account_id.

  • spamchecker_only
    Type: boolean

    If true, imported accounts are enabled only for Spam Tests (and automated tests) — warming and monitoring are disabled and no warming seat is charged. Use this when the accounts are dedicated to running (automated) spam tests.