duplicateDomain mutation duplicates (clones) an existing domain, creating an independent copy.
Signature
This mutation requires write permission (
zsheet:write) on the source domain.Arguments
The ID of the source domain to duplicate.
The target workspace ID where the duplicate domain will be created. Defaults to the current workspace if not specified.
Response
Returns aDomainModel object representing the newly created duplicate domain. See DomainModel for the schema.
Usage example
Duplicate a domain into the current workspace:Related operation
DomainModel Schema
Learn about domain structure and properties
Create Domain
Create a new domain from scratch