Keyturn docsCommand reference
keyturn drapi
the Domino REST API
drapi statusR
whether the HCL Domino REST API is installed and running, its version, ports and configuration files
keyturn drapi status [--wait DURATION] [--server URL] [--user NAME] [--ca FILE]keyturn drapi statuskeyturn drapi status -o jsondrapi startM
start the Domino REST API task (load restapi)
keyturn drapi start [--timeout DURATION] [--dry-run] [--wait DURATION] [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn drapi start --dry-runkeyturn drapi start --timeout 3mdrapi stopD
end the Domino REST API task (tell restapi quit)
keyturn drapi stop [--yes] [--timeout DURATION] [--dry-run] [--wait DURATION] [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn drapi stop --dry-runkeyturn drapi stop --yesdrapi restartM
restart the Domino REST API with its configuration read again (tell restapi reload)
keyturn drapi restart [--timeout DURATION] [--dry-run] [--wait DURATION] [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn drapi restartkeyturn drapi restart --timeout 3mdrapi refreshM
apply the Domino REST API's configuration without a restart (tell restapi refresh)
keyturn drapi refresh [--timeout DURATION] [--dry-run] [--wait DURATION] [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn drapi refresh --dry-runkeyturn drapi refreshdrapi config showR
the Domino REST API's ports, keepconfig.d files and running configuration (secrets hidden)
keyturn drapi config show [<key>] [--all] [--wait DURATION] [--server URL] [--user NAME] [--ca FILE]keyturn drapi config showkeyturn drapi config show -o jsondrapi config setM
set or remove keys in Keyturn's keepconfig.d/keyturn.json, then apply them (refresh or reload)
keyturn drapi config set [<key=value…>] [--unset KEY]… [--apply auto|reload|refresh|none] [--timeout DURATION] [--dry-run] [--wait DURATION] [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn drapi config set METRICSPORT=8891 --dry-runkeyturn drapi config set versions.setup.active=false --apply reloadkeyturn drapi config set --unset METRICSPORTdrapi accounts listR
v07d: HCL's functional accounts for the Domino REST API (health check, metrics, Management console) in keepconfig.d: names, kinds, active, which file; never a secret
keyturn drapi accounts list [--server URL] [--user NAME] [--ca FILE]keyturn drapi accounts listdrapi accounts setM
v07d: add or change one of HCL's functional accounts (health, metrics or management) in keepconfig.d/keyturn-accounts.json, its salted secret only from your environment; restart DRAPI and sign in with it
keyturn drapi accounts set <kind> <name> [--salt-at URL] [--drapi-ca FILE] [--inactive] [--no-reload] [--timeout DURATION] [--dry-run] [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn drapi accounts set health kt-health --dry-runkeyturn drapi accounts set metrics prometheus --no-reloadkeyturn drapi accounts set health kt-health --salt-at http://mail1.acme.com:8889drapi accounts removeM
v07d: remove one of the functional accounts Keyturn wrote (keepconfig.d/keyturn-accounts.json), then restart DRAPI
keyturn drapi accounts remove <kind> <name> [--yes] [--no-reload] [--timeout DURATION] [--dry-run] [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn drapi accounts remove metrics prometheus --dry-runkeyturn drapi accounts remove metrics prometheus --yesdrapi healthR
is the Domino REST API healthy: its task, its status, its API port, its health check and metrics ports
keyturn drapi health [--health-user NAME] [--metrics-user NAME] [--wait DURATION] [--server URL] [--user NAME] [--ca FILE]keyturn drapi healthdrapi scope listR
the Domino REST API's scopes: each maps a name to a database and its schema (setup API)
keyturn drapi scope list [--drapi-url URL] [--drapi-ca FILE] [--server URL] [--user NAME] [--ca FILE]keyturn drapi scope listkeyturn drapi scope list -o csvdrapi scope createM
make a scope and its schema for a database with HCL's defaults (setup API quickconfig)
keyturn drapi scope create <name> [--db DB] [--schema NAME] [--max-access LEVEL] [--create-db] [--allow-deletion] [--description TEXT] [--dry-run] [--drapi-url URL] [--drapi-ca FILE] [--server URL] [--user NAME] [--ca FILE]keyturn drapi scope create sales --db apps/sales.nsf --max-access Editor --dry-runkeyturn drapi scope create sales --db apps/sales.nsf --drapi-url https://mail1.acme.com:8880 --drapi-ca drapi.pemdrapi scope deleteD
remove a scope (the database and its schema stay; setup API)
keyturn drapi scope delete <name> [--yes] [--dry-run] [--drapi-url URL] [--drapi-ca FILE] [--server URL] [--user NAME] [--ca FILE]keyturn drapi scope delete sales --dry-runkeyturn drapi scope delete sales --yesdrapi schema listR
a database's Domino REST API schemas (setup API)
keyturn drapi schema list [--db DB] [--drapi-url URL] [--drapi-ca FILE] [--server URL] [--user NAME] [--ca FILE]keyturn drapi schema listkeyturn drapi schema list -o csvHCL, HCL Domino, Domino, Notes, HCL Traveler, HCL Verse and HCL Nomad are trademarks or registered trademarks of HCL Technologies Limited. Microsoft, Windows, Excel, Power Query and Power BI are trademarks of the Microsoft group of companies. macOS is a trademark of Apple Inc. Linux is the registered trademark of Linus Torvalds. Let's Encrypt is a trademark of the Internet Security Research Group. Claude and Claude Code are trademarks of Anthropic, PBC. Other names may be trademarks of their respective owners. KernalWorks is not affiliated with, sponsored by, or endorsed by any of them.