code: def space_delete(args):
      
      message = "WARNING: this will delete workspace: \n\t{0}/{1}".format(
          args.project, args.workspace)
      if not args.yes and not _confirm_prompt(message):
          return 0
  
      r = fapi.delete_workspace(args.project, args.workspace)
      fapi._check_response_code(r, [200, 202, 204, 404])
      if fcconfig.verbosity:
          print('Deleted workspace {0}/{1}'.format(args.project, args.workspace))
      return 0
docs: Delete a workspace.