code: def worker_complete():
      
      participant_id = request.args.get("participant_id")
      if not participant_id:
          return error_response(
              error_type="bad request", error_text="participantId parameter is required"
          )
  
      try:
          _worker_complete(participant_id)
      except KeyError:
          return error_response(
              error_type="ParticipantId not found: {}".format(participant_id)
          )
  
      return success_response(status="success")
docs: Complete worker.