catalog_workspace.

delete_workspace

delete_workspace(workspace_id: str)

Deletes a workspace with all its content - logical model and analytics model.

This method is implemented according to our implementation of delete workspace, which returns HTTP 204 no matter if the workspace_id exists.

Parameters

nametypedescription
workspace_idstringWorkspace identification string e.g. "demo"

Returns

None

Raises

typedescription
Value ErrorWorkspace does not exist.
Value ErrorWorkspace is a parent of a workspace.

Example

# Delete workspace
sdk.catalog_workspace.delete_workspace(workspace_id="test_demo")