v25

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-086580241.1 KB
Hosts

Duplicate a host

Copies the host and responds 201 with the new host's detail. The copy SHARES the source's content-addressed config row rather than cloning it, so both hosts continue to describe the same configuration. Requires project admin.

post/projects/{projectId}/hosts/{hostId}/duplicate

Path parameters

projectIdstring required

ID of the hosted project that contains the server.

hostIdstring required

Host ID, as returned by the project's host list.

Request body

namestring

Response

The duplicated host.

idstring required
namestring required
configobject required

Host config v2 DTO. Opaque object; shape mirrors the inspector's host editor.