Clone Workspace
Clone an existing workspace.
Quick Navigation
Endpoint
POST /api/v1/workspaces/{workspace_id}/clone
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Content-Type | Yes | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workspace_id | integer | Yes | Workspace 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.