Update Taxonomy
Update taxonomy name and description.
Endpoint
PUT /v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}Request
curl -X PUT \
'https://api.sharely.ai/v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'organizationid: your-organization-id' \
-d '{
"name": "Updated Taxonomy Name",
"description": "Updated description"
}'Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | No | Updated taxonomy name |
description | string | No | Updated description |
Response
{
"id": "taxonomy-uuid",
"name": "Updated Taxonomy Name",
"description": "Updated description",
"updatedAt": "2024-11-14T16:30:00Z"
}