Skip to main content
DELETE
/
providers
/
{slug}
from portkey_ai import Portkey # Initialize the Portkey client portkey = Portkey( api_key="PORTKEY_API_KEY", ) # Delete a specific virtual key result = portkey.providers.delete( slug="PROVIDER_SLUG", workspace_id="" ) print(result)
{}

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

slug
string
required

Provider slug

Query Parameters

workspace_id
string

optional, needed when using organisation admin keys

Response

200 - application/json

Successful response

The response is of type object.

Last modified on March 17, 2026