docs: fix Admin API example — field is name, not id
This commit is contained in:
+1
-1
@@ -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"}'
|
||||||
```
|
```
|
||||||
|
|
||||||
Ответ:
|
Ответ:
|
||||||
|
|||||||
Reference in New Issue
Block a user