haops_deprecate_role_template
Soft-delete a role template by name, admin-only with composed-protocols feature flag. System templates cannot be deprecated; publish a new version instead.
Instructions
Soft-delete a role template, cascading across ALL versions (admin-only, requires composed-protocols feature flag). System templates (isSystem=true) cannot be deleted and return 403 — to "deprecate" a system template, publish a new version via haops_update_role_template or alter the seeder. Soft-deleted rows remain visible in the history endpoint for audit context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Kebab-case name of the template to deprecate. | |
| verbose | No | If true, return the full API response instead of the compact summary (default: false) |