Copy a migration's mail now
Starts copying once the old provider's administrator has allowed it, or copies what arrived at the old provider since the last run, as after switching the domain's MX. Answers 409 `not_authorized` while `authorize` is still to do, `running` while a copy runs, and `unverified` while sending from the domain is paused because the workspace no longer proves it's its own. Needs the admin role.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/workspaces/string/mail/migrations/497f6eca-6276-4993-bfeb-53cbbbba6f08/run"{ "migration": { "id": "string", "domain": "string", "provider": "google", "status": "pending", "source": { "host": "string", "account": "string" }, "authorize": { "url": "string", "clientId": "string", "scopes": [ "string" ] }, "mailboxes": [ { "from": "string", "to": "string", "status": "pending", "messages": -9007199254740991, "copied": -9007199254740991, "error": "string" } ], "error": "string", "createdAt": "string", "startedAt": "string", "finishedAt": "string" }}Cancel a mail migration DELETE
Stops a migration and forgets the passwords it was given; on a finished migration it only forgets the passwords. Mail already copied stays. Needs the admin role.
List all domains in workspace GET
Every custom domain the workspace's applications serve, every domain added to the workspace without an app, and every domain registered through Cloady, with its renewal details, whether or not an application serves it.