Clone a cleanroom from a template

Creates a new cleanroom by cloning a source template cleanroom. Set lineage to true for coupled (linked) cloning or false for decoupled (independent copy). Cloning runs asynchronously. Prefer POST /cleanrooms/{cleanroomId}/generate for the Generate Clean Room action; this endpoint remains for backward compatibility.

Path Params
string
required

Source template cleanroom ID to clone from

Body Params
cleanRoom
object
required

Target cleanroom for CloneCleanRoom.cleanRoom. Only name is required; all other fields are optional overrides. Type and startAt are inherited from the source template by unhygienix.

boolean
Defaults to false

true for coupled (linked), false for decoupled (independent copy)

string

CloneCleanRoom.accountID. Optional; when omitted, unused is sent.

questionIds
array of strings

Optional subset of template question IDs to clone

questionIds
string

Optional JSON payload of constraint overrides for the target cleanroom

questionPermissions
array of objects

Question permissions for the cloned cleanroom

questionPermissions
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Choose an example:
application/json