Delete a Workspace
Authorizations
Path parameters
workspaceIdstringRequired
Responses
200
OK
delete
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)
200
OK
No content
Last updated
Was this helpful?