Publish Taxonomy

Activate a taxonomy to make it visible to users.

Endpoint

PUT /v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}/publish

Request

curl -X PUT \
  'https://api.sharely.ai/v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}/publish' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'organizationid: your-organization-id'

Response

{
  "id": "taxonomy-uuid",
  "published": true,
  "updatedAt": "2024-11-14T16:30:00Z"
}

Important Notes

  • Only published taxonomies are visible to users
  • You must publish a taxonomy after creating and configuring it
  • Unpublished taxonomies can be edited without affecting users

Related Endpoints