DELETE
/
virtual-keys
/
{slug}
from portkey_ai import Portkey

# Initialize the Portkey client
portkey = Portkey()

# Delete a specific virtual key
result = portkey.virtual_keys.delete(
slug='VIRTUAL_KEY_SLUG'
)

print(result)
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slug
string
required

Response

200
application/json

Successful response

The response is of type object.