Skip to main content

Clone Workspace

Clone an existing workspace.

Quick Navigation

Endpoint

POST /api/v1/workspaces/{workspace_id}/clone

Headers

HeaderRequiredDescription
AuthorizationYesBearer <access_token>
Content-TypeYesapplication/json

Path Parameters

ParameterTypeRequiredDescription
workspace_idintegerYesWorkspace ID to clone

Request Body

{
"name": "Cloned Workspace",
"copy_members": true,
"copy_settings": true
}

Response

Success (200)

{
"success": true,
"data": {
"workspace": {
"id": 3,
"name": "Cloned Workspace",
"slug": "cloned-workspace",
"source_workspace_id": 1
},
"message": "Workspace cloned successfully"
},
"message": "Workspace cloned successfully"
}

Features

  • Workspace cloning
  • Settings replication
  • Member assignment

Status

[WARNING] TODO: Not Implemented

This endpoint is defined in the router but the implementation logic is not yet complete.