function deleteCategory
deleteCategory(id: string): void

Deletes category id, for DELETE /api/categories/:id. Its dumps or playlists stay, and lose it from their categoryIds.

Parameters

id: string

Return Type

void

Throws

APIException

404 when there is no such category.

Usage

import { deleteCategory } from "api/services/category-service.ts";