Skip to main content
DELETE
/
admin
/
workspaces
/
{workspaceId}
from portkey_ai import Portkey # Initialize the Portkey client portkey = Portkey( api_key="PORTKEY_API_KEY", ) # Delete workspace result = portkey.admin.workspaces.delete( workspace_id='WORKSPACE_SLUG' ) print(result)

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

workspaceId
string
required

Response

200

OK

Last modified on March 18, 2026