code: def entity_delete(args):
      
  
      msg = "WARNING: this will delete {0} {1} in {2}/{3}".format(
          args.entity_type, args.entity, args.project, args.workspace)
  
      if not (args.yes or _confirm_prompt(msg)):
          return
  
      json_body=[{"entityType": args.entity_type,
                  "entityName": args.entity}]
      r = fapi.delete_entities(args.project, args.workspace, json_body)
      fapi._check_response_code(r, 204)
      if fcconfig.verbosity:
          print("Succesfully deleted " + args.type + " " + args.entity)
docs: Delete entity in a workspace.