DELETE
/
admin
/
workspaces
/
{workspaceId}
from portkey_ai import Portkey

# Initialize the Portkey client
portkey = Portkey()

# Delete workspace
result = portkey.admin.workspaces.delete(
workspace_id='WORKSPACE_SLUG'
)

print(result)

Authorizations

Authorization
string
header
required

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

Path Parameters

workspaceId
string
required

Response

200

OK