from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Delete the API key
result = portkey.api_keys.delete(
id="API_KEY_ID"
)
print(result)
{}
from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Delete the API key
result = portkey.api_keys.delete(
id="API_KEY_ID"
)
print(result)
{}
OK
The response is of type object
.
Was this page helpful?