docs: fix Admin API example — field is name, not id

This commit is contained in:
Naeel
2026-04-13 07:17:41 +03:00
parent cc5b78f8ee
commit 5680e0e512
+1 -1
View File
@@ -103,7 +103,7 @@ curl https://sqs.ваш-домен.com/health
curl -s -X POST https://sqs.ваш-домен.com/admin/tenants \ curl -s -X POST https://sqs.ваш-домен.com/admin/tenants \
-H "Authorization: Bearer ВАШ_ADMIN_TOKEN" \ -H "Authorization: Bearer ВАШ_ADMIN_TOKEN" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{"id": "my-tenant"}' -d '{"name": "my-tenant"}'
``` ```
Ответ: Ответ: