Move Site to Another Account

Move a site and all its associated records to a different account. **A new site is created with a new ID.** The original site (`siteId` in the path) is permanently deleted. The response contains the new site object — update any stored site IDs accordingly. The `fullAddress` and `title` are copied from the original site to the new one. The backend geocodes the address on the new site, so all address components (street, city, state, zipcode) are derived from geocoding. **Migrated records:** opportunities, projects, work orders, forms, services, systems, assets, and financial documents. > ⚠️ **This operation is irreversible.** The original site and its ID are permanently deleted. > Any references to the old `siteId` will no longer resolve. > Service plan instance links are removed — plans are account-scoped and cannot be transferred.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

site_idintegerRequired
Site identifier

Request

This endpoint expects an object.
accountIdintegerRequired
The target account ID to move the site to.

Response

The newly created site on the target account. This site has a new id — the original site has been deleted.

idintegerOptional
Unique site ID.
accountIdintegerOptional
ID of the account this site belongs to.
titlestring or nullOptional

Human-readable label for the site (e.g. “Main Office”).

fullAddressstring or nullOptional
Full formatted address string.
streetstring or nullOptional
citystring or nullOptional
statestring or nullOptional
zipcodestring or nullOptional
geoLocationstring or nullOptional

Latitude/longitude as “lat,lng” (e.g. “37.7749,-122.4194”).

timezonestring or nullOptional

IANA timezone string (e.g. “America/Los_Angeles”).

createdAtstring or nullOptionalformat: "date-time"
updatedAtstring or nullOptionalformat: "date-time"

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error