Help categoriesDelete

Delete a help category

Soft-delete a help category. Cascades to every article inside it.

Soft-deletes a help category. It disappears from your dashboard and public help center, but the row is retained and its slug is freed for reuse.

This cascades. Deleting a category also soft-deletes every article inside it. There is no undo through the API.

Endpoint

POST https://api.productbridge.io/api/external/v1/help-categories/delete

Arguments

body
api_keystring
Required

Your organization's public API key. See Authentication.

body
category_idstring
Required

UUID of the category to delete. Must belong to your organization.

Returns

{ "success": true }

Example request

curl -X POST https://api.productbridge.io/api/external/v1/help-categories/delete \
  -H 'Content-Type: application/json' \
  -d '{
    "api_key": "pb_YOUR_PUBLIC_API_KEY",
    "category_id": "884c3ef8-b8cd-cd15-01ba-44bb44bb44bb"
  }'

Example response

{
  "success": true
}

Keeping the articles

To empty a category before deleting it, list its articles with this category_id, then update each one with a different category_id — or a collection_id, to file it directly in a collection instead.

Errors

StatusBodyCause
401{"detail":{"error":"invalid api_key"}}Missing / unknown / inactive api_key.
403{"detail":{"error":"The Help Center is not enabled on your current plan..."}}Your plan does not include the knowledgebase feature.
404{"detail":{"error":"help category not found"}}No such category, it was already deleted, or it belongs to another organization.
422Validation error envelopecategory_id missing or not a valid UUID.

See Errors for the full envelope shape and a recommended client-side handler.