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)
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)
OK
Was this page helpful?