mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-24 20:09:02 +00:00
docs(cloud): fix the one remaining /api/ path -> /v1/ (add-token)
The prior /api/* -> /v1/* sweep (48609f2c2) missed one line in the Cloud service
Quick Start: the create-API-key example used api.hanzo.ai/api/add-token while the
sibling chat-completion example right below it correctly uses api.hanzo.ai/v1/*.
Per the always-/v1-never-/api convention, this is now api.hanzo.ai/v1/add-token.
This commit is contained in:
@@ -61,7 +61,7 @@ Hanzo Cloud is the core AI Cloud OS that powers `api.hanzo.ai`. It provides a un
|
||||
Create an API key at [console.hanzo.ai](https://console.hanzo.ai) or via the API:
|
||||
|
||||
```bash
|
||||
curl -X POST https://api.hanzo.ai/api/add-token \
|
||||
curl -X POST https://api.hanzo.ai/v1/add-token \
|
||||
-H "Authorization: Bearer $IAM_TOKEN" \
|
||||
-d '{"name": "my-key", "organization": "hanzo"}'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user