Update a template category (superadmin)
Updates a template category fields (displayName, description, color, isActive). Superadmin only. Returns 400 if the new name conflicts with another category.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
New internal slug; lower-cased and trimmed before uniqueness check — endpoint returns 400 if it collides with another category.
New human-readable label shown in the template picker.
New blurb describing the category; pass an empty string to clear.
New Tailwind class string (or hex) for the category badge.
Whether the category should appear in pickers and lists; setting false soft-hides without deleting.
Response
Category updated
Template category record used to group SMS / campaign / script / automation templates. Returned by category create/update.