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(
    name='WORKSPACE_NAME_0909',
    workspace_id='WORKSPACE_SLUG'
)

print(result)

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

workspaceId
string
required

Response

200

OK