From 84fde01461c06e7e56b9fc95665cd4bb95391765 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 19 Dec 2023 19:11:35 +0530 Subject: [PATCH] (fix) docs proxy + auth curl request --- docs/my-website/docs/proxy/virtual_keys.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/my-website/docs/proxy/virtual_keys.md b/docs/my-website/docs/proxy/virtual_keys.md index 93abc789b8..181ccf6488 100644 --- a/docs/my-website/docs/proxy/virtual_keys.md +++ b/docs/my-website/docs/proxy/virtual_keys.md @@ -39,8 +39,8 @@ litellm --config /path/to/config.yaml ```shell curl 'http://0.0.0.0:8000/key/generate' \ ---h 'Authorization: Bearer sk-1234' \ ---d '{"models": ["gpt-3.5-turbo", "gpt-4", "claude-2"], "duration": "20m"}' +--header 'Authorization: Bearer sk-1234' \ +--data '{"models": ["gpt-3.5-turbo", "gpt-4", "claude-2"], "duration": "20m"}' ``` - `models`: *list or null (optional)* - Specify the models a token has access too. If null, then token has access to all models on server.