original_docstring: Delete a participant from a Collection Protocol
  
          Deletes an existing participant with the uniquely participant ID <cprid>
          which is generated from the system. The ID has to be known and can be seen for Examples via 
          the GUI in the URL: http(s)://<host>:<port>/openspecimen/cp-view/{cpId}/participants/{cprid}/...
          or with the function get_participant_matches in the os_core class participants.
  
          Parameters
          ---------
          cprid : int
              System generated unique ID of the participant. Will get converted to a string.
  
          Returns
          -------
          JSON-dict
              Details of the deleted participant or OpenSpecimen's error message.
          
docstring: Delete a participant from a Collection Protocol
  Deletes an existing participant with the uniquely participant ID 
  which is generated from the system.
  
  Parameters
  
  cprid : int
  System generated unique ID of the participant. Will get converted to a string.
  
  Returns
  
  JSON-dict
  Details of the deleted participant or OpenSpecimen's error message.
docstring_tokens: Delete a participant from a Collection Protocol Deletes an existing participant with the uniquely participant ID which is generated from the system . Parameters cprid : int System generated unique ID of the participant . Will get converted to a string . Returns JSON - dict Details of the deleted participant or OpenSpecimen ' s error message .
code: def delete_participant(self, cprid):
  
          """Delete a participant from a Collection Protocol
  
          Deletes an existing participant with the uniquely participant ID <cprid>
          which is generated from the system. The ID has to be known and can be seen for Examples via 
          the GUI in the URL: http(s)://<host>:<port>/openspecimen/cp-view/{cpId}/participants/{cprid}/...
          or with the function get_participant_matches in the os_core class participants.
  
          Parameters
          ---------
          cprid : int
              System generated unique ID of the participant. Will get converted to a string.
  
          Returns
          -------
          JSON-dict
              Details of the deleted participant or OpenSpecimen's error message.
          """
  
          endpoint = '/' + str(cprid)
          url = self.base_url + endpoint
          r = self.OS_request_gen.delete_request(url)
  
          return json.loads(r.text)
code_tokens: def delete_participant ( self , cprid ) : endpoint = '/' + str ( cprid ) url = self . base_url + endpoint r = self . OS_request_gen . delete_request ( url ) return json . loads ( r . text )
short_docstring: Delete a participant from a Collection Protocol
  Deletes an existing participant with the uniquely participant ID <cprid>
  which is generated from the system.
short_docstring_tokens: Delete a participant from a Collection Protocol Deletes an existing participant with the uniquely participant ID <cprid > which is generated from the system .
comment: """Delete a participant from a Collection Protocol
  
          Deletes an existing participant with the uniquely participant ID <cprid>
          which is generated from the system. The ID has to be known and can be seen for Examples via 
          the GUI in the URL: http(s)://<host>:<port>/openspecimen/cp-view/{cpId}/participants/{cprid}/...
          or with the function get_participant_matches in the os_core class participants.
  
          Parameters
          ---------
          cprid : int
              System generated unique ID of the participant. Will get converted to a string.
  
          Returns
          -------
          JSON-dict
              Details of the deleted participant or OpenSpecimen's error message.
          """