Delete an API Key
Authorizations
Path parameters
idstring · uuidRequired
Responses
200
OK
application/json
Responseobject
delete
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)
200
OK
{}
Last updated
Was this helpful?