Magidoc

duplicateAccount
Mutation

Duplicate an account. Scope: "account".

Arguments

#

account

Non-null

Account to duplicate

newSlug

The new slug for the duplicated account. Defaults to an autogenerated slug

newName

The new name for the duplicated account. Defaults to the same as the original account

oldName

Use this if you want to rename the original account

include

Which data should be copied when duplicating the account

connect

Non-null

Whether to mark both accounts as connected

Response

#

Returns Account !.

Example

#

    
  

3

    
  

3

    
  

3