# Links Module

Removable operational access layer module.

## Enable
- Set `LINKS_MODULE_ENABLED=true` in `.env`
- Run migrations `154_links_endpoints_module.sql` and `155_links_permissions.sql`

## Disable (soft remove)
- Set `LINKS_MODULE_ENABLED=false`
- Restart API

## Remove (hard)
1. Soft-remove first.
2. Export required data from links tables.
3. Drop module tables (`links`, `link_categories`, `link_category_map`, `link_runbooks`, `link_runbook_steps`, `link_status_checks`, `link_access_log`, `links_audit_log`).
