Delete Virtual Key
Authorizations
Path parameters
slugstringRequired
Responses
200
Successful response
application/json
Responseobject
401
Unauthorized response
application/json
delete
from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Delete a specific virtual key
result = portkey.virtual_keys.delete(
slug='VIRTUAL_KEY_SLUG'
)
print(result)
{}
Last updated
Was this helpful?