Clone Taxonomy
Create a copy of an existing taxonomy with all its associations.
Endpoint
POST /v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}/cloneRequest
curl -X POST \
'https://api.sharely.ai/v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}/clone' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'organizationid: your-organization-id' \
-d '{
"name": "Cloned Taxonomy Name"
}'Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name for the cloned taxonomy |
Response
{
"id": "new-taxonomy-uuid",
"name": "Cloned Taxonomy Name",
"published": false,
"clonedFrom": "original-taxonomy-uuid"
}Important Notes
- The cloned taxonomy includes all category, role, and language associations
- The clone is created as unpublished
- You must publish it separately after cloning