sites

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.

post/sites/{site_id}/move

Request

  • Base URL: https://api.coperniq.io/v1
  • URL: https://api.coperniq.io/v1/sites/{site_id}/move
  • Auth: API key in header x-api-key

Path parameters

site_idinteger required

Site identifier

Request body

accountIdinteger required

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.

idinteger

Unique site ID.

accountIdinteger

ID of the account this site belongs to.

titlestring nullable

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

fullAddressstring nullable

Full formatted address string.

streetstring nullable
citystring nullable
statestring nullable
zipcodestring nullable
geoLocationstring nullable

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

timezonestring nullable

IANA timezone string (e.g. "America/Los_Angeles").

createdAtstring date-time nullable
updatedAtstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.