Delete Virtual Key

Delete a Virtual Key

delete
Authorizations
Path parameters
slugstringRequired
Responses
200
Successful response
application/json
Responseobject
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?