Delete Taxonomy

Delete a taxonomy and remove all its associations.

Endpoint

DELETE /v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}

Request

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

Response

{
  "success": true,
  "message": "Taxonomy deleted successfully"
}

Important Notes

  • Deleting a taxonomy removes all category, role, and language associations
  • The categories themselves are not deleted, only their association with this taxonomy
  • This operation cannot be undone