v1Resources/Locations/postPreview a client migration

Preview a client migration

Locations

Preview moving locations to another client and return the migration plan and confirmation token.

Requires an owner/admin with Clients access and agency-wide credentials. Preview up to 500 locations moving to a managed client, including effects on shared menus, assets and accounts. Review the plan before starting. The returned token expires after 15 minutes and is bound to the user and selection.

post/api/v1/locations/migrate/preview
locations:read

Request body

locationIdsarray of stringrequired
Selected location IDs or public IDs.
toClientIdstringrequired
Destination managed-client ID or public ID.

Response

dataobjectoptional
toClientobjectoptional
groupsarray of objectoptional
alreadyHerearray of stringoptional
parentsarray of objectoptional
locationIdsarray of stringoptional
hashstringoptional
tokenstringoptional

Errors

400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
409Content checks held the action, or the migration preview is stale or changed.
422The location operation needs attention or could not be completed.
429Too many requests. The window field names the limit you hit; retry after the number of seconds in the Retry-After header.
503The location operation needs attention or could not be completed.
post/api/v1/locations/migrate/preview
Your API key
Request body*
{}

Guides that use this resource