Remove Knowledge from Category

Remove knowledge items from a category.

Endpoint

DELETE /v1/workspaces/{workspaceId}/category/{categoryId}/knowledge

Request

curl -X DELETE \
  'https://api.sharely.ai/v1/workspaces/{workspaceId}/category/{categoryId}/knowledge' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'organizationid: your-organization-id' \
  -d '{
    "knowledgeIds": ["knowledge-uuid-1", "knowledge-uuid-2"]
  }'

Body Parameters

ParameterTypeRequiredDescription
knowledgeIdsarray of UUIDsYesArray of knowledge UUIDs to remove

Response

{
  "success": true,
  "removedCount": 2
}

Related Endpoints