POST
/
workspaces
/
{workspace_id}
/
clone

Authorizations

Authorization
string
headerrequired

Bearer authorization using your Personal Access Token. Generate a new PAT on your user settings page.

Path Parameters

workspace_id
integer
required

ID of the workspace

Body

application/json
new_workspace_name
string
required

The name for the new cloned workspace.

application_variables
object[]

Optional. An array of key-value pairs representing workspace variables for the new workspace. All variable keys used in the base workspace must be provided for the cloned workspace.

return_workspace_api_key
boolean
default: false

Whether or not a successful result should include the api_key field in the response. This workspace api_key is used to interact with the Workspace APIs.

Response

202 - application/json
status_endpoint
string

The url of the new workspace's clone status.

data
object