Assign Categories to Taxonomy
Assign one or more categories to a taxonomy.
Endpoint
POST /v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}/categoriesRequest
curl -X POST \
'https://api.sharely.ai/v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}/categories' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'organizationid: your-organization-id' \
-d '{
"categoryIds": ["category-uuid-1", "category-uuid-2"]
}'Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
categoryIds | array of UUIDs | Yes | Array of category UUIDs to assign |
Response
{
"success": true,
"assignedCount": 2
}