https://portkey.ai/docs/api-reference/admin-api/control-plane/virtual-keys/create-virtual-keycannot be triggered on non-enterprise plans ?
import requests
url = "https://api.portkey.ai/v1/virtual-keys"
payload = {
"provider": "azure-openai",
"key": "openai-test",
"name": "Key 1 Azure Open AI",
"note": "description",
"apiVersion": "a",
"deploymentName": "b",
"resourceName": "c"
}
headers = {
"x-portkey-api-key": "****",
"Content-Type": "application/json"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
>>>{
"success": false,
"data": {
"message": "You do not have enough permissions to execute this request",
"errorCode": "AB03",
"request_id": "27c675d5-c322-4f7e-89cc-064c26c913f9"
}
}