Resync domain

Resync emails for all MailUsers of domain (created via automatic migration)

  • HTTP Method: POST
  • URL: https://example.domain.tld/api/v1/automigration/resync/domain/<domain>/
  • Require authentication: Yes
  • Permission level required: MasterAdmin / DomainAdmin

Path parameters

Parameter Type Description Required
domain str Domain name Required

Response parameters

Parameter Type Description
domain str Domain name setup for auto migration
status str Status of migration

Example request (Python)

import requests
import json
from pprint import pprint

url = "https://example.domain.tld/api/v1/automigration/resync/domain/vonmail.com/"
r = requests.post(url, auth=("admin","long-auth_token-here"))
try:
    pprint(r.json())
except: 
    print(r.text)

Example response (JSON)

{
    'domain' : 'vonmail.com',
    'status' : 'queued'
}