This documentation is for an older version of GoodData.
Go to the latest version of this article.
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
name | type | description |
---|---|---|
workspace_id | string | Workspace identification string e.g. "demo" |
Returns
None
Raises
type | description |
---|---|
Value Error | Workspace does not exist. |
Value Error | Workspace is a parent of a workspace. |
Example
# Delete workspace
sdk.catalog_workspace.delete_workspace(workspace_id="test_demo")