fix: enhance docs

This commit is contained in:
Rajat Ahuja 2026-09-03 15:47:54 -04:00
parent 50f5e92598
commit 29bfc6e4ac
1 changed files with 5 additions and 0 deletions

View File

@ -7,4 +7,9 @@ Requires an admin key. On Honcho Cloud (`api.honcho.dev`) the returned key is a
real cloud key on the calling key's instance, attributed to its owner and
revocable from the [API Keys page](https://app.honcho.dev/api-keys). On a
self-hosted instance it returns an error when `AUTH_USE_AUTH` is disabled.
Provide at least one of `workspace_id`, `peer_id`, or `session_id` — a request
carrying none of them is rejected. A key scoped to a peer or a session must also
carry its `workspace_id`. On Honcho Cloud, pass either `admin=true` or a
`workspace_id`.
</Note>