Assign Languages to Taxonomy

Assign one or more languages to a taxonomy for multilingual support.

Endpoint

POST /v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}/languages

Request

curl -X POST \
  'https://api.sharely.ai/v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}/languages' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'organizationid: your-organization-id' \
  -d '{
    "languageIds": ["en", "es", "pt"]
  }'

Body Parameters

ParameterTypeRequiredDescription
languageIdsarray of stringsYesArray of language codes

Supported Languages

en, es, pt, zh, zh-hans, zh-hant, zh-yue, fr, de, it, ja, ko, ru

Response

{
  "success": true,
  "assignedCount": 3
}

Related Endpoints