Resync user

Resync emails of MailUser (created via automatic migration)

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

Path parameters

Parameter Type Description Required
username str MailUser email address Required

Response parameters

Parameter Type Description
username str MailUser email address
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/user/test@vonmail.com/"
r = requests.post(url, auth=("admin","long-auth_token-here"))
try:
    pprint(r.json())
except: 
    print(r.text)

Example response (JSON)

{
    'username' : 'test@vonmail.com',
    'status' : 'queued'
}