Unpublish Taxonomy

Deactivate a taxonomy to hide it from users.

Endpoint

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

Request

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

Response

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

Related Endpoints