hosting

PUT /v1/migrations/ai-moves/{moveId}/access

Send fresh access for an AI Move (the secure form).

All hosting endpoints

All developer docs →

Authentication

Send an API key as a bearer token. The key must carry the hosting.import.manage permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X PUT https://api.zinndigital.com/v1/migrations/ai-moves/{moveId}/access \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

The answer to the ticket's "please send fresh access": written straight to Vault, merged with what was given before, and the move carries on by itself. Never send a password on the ticket. Requires hosting.import.manage.

Parameters

NameTypeRequiredWhat it is
moveId (path)stringYes—

Request body

NameTypeRequiredWhat it is
accessAiMoveAccessNoAt least one of ssh, panel, ftp; database and wp_admin help the checks.
mailbox_passwordsobjectNoMailbox address -> password. Straight to Vault; never stored or returned.
replace_confirmationstringNoThe site's domain typed back, to confirm replacing a site that has content.

Response

NameTypeRequiredWhat it is
idstringYes—
org_idstringYes—
site_idobjectNo—
target_domainstringYes—
product_linestringNo—
stagestring<received, checking_access, needs_access, checking_fit, needs_upgrade, ready_to_copy, copying, verifying, awaiting_cutover, done, needs_staff, cancelled>Yes—
pausedbooleanYes—
taken_overbooleanYesA person from our migration team has taken it over.
platformstringYes—
source_urlsstring[]Yes—
access_kindsstring[]Yes—
access_reportobjectNoPer access kind, ok or the refusal code of the last check.
routestringNoThe route chosen (ssh, cpanel, plesk, directadmin, ftp).
inventoryobjectNo—
fitobjectNoThe plan-fit verdict and any upgrade offered (engine-quoted).
approx_sizestringNo—
move_itemsstring[]No—
cutover_windowstringNo—
timezonestringNo—
ticket_idobjectNo—
checksobjectNoThe switch-over verdict: preview, app, passed (both), then live after the switch-over.
go_atobjectNoWhen the GO was given.
needsstring<, access, mailboxes, replace>NoWhat a waiting move is asking the customer for.
preview_urlstringNoThe preview address, while waiting to switch over.
extra_purchase_idobjectNo—
started_by_staffbooleanNo—
created_atobjectYes—
updated_atobjectNo—
completed_atobjectNo—

Errors this endpoint can return

401 · 404 · 409 · 422 · 503