Clone a QDS Account

POST /api/v2/accounts/clone

Use this API to clone a QDS account. You can choose to clone the users from the parent account; by default, they are not cloned.

Required Role

The following users can make this API call:

  • Users who belong to the system-admin group.
  • Users who belong to a group associated with a role that allows cloning an account. See Managing Groups and Managing Roles for more information.



Parameters marked in bold below are mandatory. Others are optional and have default values.

Parameter Description
id Account ID of the account that is to be cloned.
name Name of the new cloned account. Provide a name to the account.
clone_qbol_users Set this parameter to true when you want to associate parent account users with the cloned account as well. If it is not set, only the user who clones the account would get associated with the cloned account.


By default, clusters are cloned.

Request API Syntax

curl -X POST -H "X-AUTH-TOKEN:<AUTH-TOKEN>" -H "Content-Type: application/json" -H "Accept: application/json" \
-d '{"id":"<Account-Id>", "name":"<account-name>", "clone_qbol_users":"false"}' \ ""

Sample Request

curl -X GET -H "X-AUTH-TOKEN:<AUTH-TOKEN>" -H "Content-Type: application/json" -H "Accept: application/json"

Sample Response

  "name": "example_account_name",
  "state": "processing_create",
  "authentication_token": "$AUTH-TOKEN",
  "account_id": "123",
  "status": "success"