def METHOD_NAME(self, request, workspace_id):
    """Deletes the specified workspace"""
    workspace = CoreHandler().get_workspace(
        workspace_id,
        base_queryset=Workspace.objects.select_for_update(of=("self",)),
    )
    handler = WorkspacesAdminHandler()
    handler.delete_workspace(request.user, workspace)
    return Response(status=204)