Duplicate a game server

Copies settings and files to a new server. Settings that identify the source server itself, such as its Steam game server login token, cluster membership or join and invite codes, are not copied. For CS:GO, CS2, ARK and TeamSpeak 3 servers the files are duplicated from a local cache, so to make sure the latest file changes are preserved, update the local cache with the sync-files method first. For other games a backup of the source server is taken first, and the copy is restored from it; a running source server is stopped for the backup and started again afterwards. Returns the new server.

Path Params
string
required
Body Params
string

ID for the location of the server, if not set it will use the same location as the source server. See this article for available locations:
https://help.dathost.net/article/76-api-server-locations-mapping

string

Optional destination server ID, if this is set this destination server will be WIPED and the settings/files of the source server will be copied over. If this isn't set a new server will be created instead.

Responses

404

A server with this id was not found

503

The source server is in maintenance, or there are no available hosts in the location for this game. No new server was created; a server given as destination_server_id may already have been stopped and its settings overwritten.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json