DELETE
/
api-keys
/
{id}
from portkey_ai import Portkey

# Initialize the Portkey client
portkey = Portkey()

# Delete the API key
result = portkey.api_keys.delete(
id="API_KEY_ID"
)

print(result)
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

200 - application/json

OK

The response is of type object.