original_docstring: Deletes specified device from PnP database.
  
          Args:
              id(basestring): id path parameter.
              headers(dict): Dictionary of HTTP Headers to send with the Request
                  .
              **request_parameters: Additional request parameters (provides
                  support for parameters that may be added in the future).
  
          Returns:
              MyDict: JSON response. Access the object's properties by using
              the dot notation or the bracket notation.
  
          Raises:
              TypeError: If the parameter types are incorrect.
              MalformedRequest: If the request body created is invalid.
              ApiError: If the DNA Center cloud returns an error.
          
docstring: Deletes specified device from PnP database.
docstring_tokens: Deletes specified device from PnP database .
code: def delete_device_by_id_from_pnp(self,
                                       id,
                                       headers=None,
                                       **request_parameters):
          """Deletes specified device from PnP database.
  
          Args:
              id(basestring): id path parameter.
              headers(dict): Dictionary of HTTP Headers to send with the Request
                  .
              **request_parameters: Additional request parameters (provides
                  support for parameters that may be added in the future).
  
          Returns:
              MyDict: JSON response. Access the object's properties by using
              the dot notation or the bracket notation.
  
          Raises:
              TypeError: If the parameter types are incorrect.
              MalformedRequest: If the request body created is invalid.
              ApiError: If the DNA Center cloud returns an error.
          """
          check_type(headers, dict)
          check_type(id, basestring,
                     may_be_none=False)
          if headers is not None:
              if 'X-Auth-Token' in headers:
                  check_type(headers.get('X-Auth-Token'),
                             basestring, may_be_none=False)
  
          _params = {
          }
          _params.update(request_parameters)
          _params = dict_from_items_with_values(_params)
  
          path_params = {
              'id': id,
          }
  
          with_custom_headers = False
          _headers = self._session.headers or {}
          if headers:
              _headers.update(dict_of_str(headers))
              with_custom_headers = True
  
          e_url = ('/dna/intent/api/v1/onboarding/pnp-device/${id}')
          endpoint_full_url = apply_path_params(e_url, path_params)
          if with_custom_headers:
              json_data = self._session.delete(endpoint_full_url, params=_params,
                                               headers=_headers)
          else:
              json_data = self._session.delete(endpoint_full_url, params=_params)
  
          return self._object_factory('bpm_cdab9b474899ae06_v1_3_1', json_data)
code_tokens: def delete_device_by_id_from_pnp ( self , id , headers = None , ** request_parameters ) : check_type ( headers , dict ) check_type ( id , basestring , may_be_none = False ) if headers is not None : if 'X-Auth-Token' in headers : check_type ( headers . get ( 'X-Auth-Token' ) , basestring , may_be_none = False ) _params = { } _params . update ( request_parameters ) _params = dict_from_items_with_values ( _params ) path_params = { 'id' : id , } with_custom_headers = False _headers = self . _session . headers or { } if headers : _headers . update ( dict_of_str ( headers ) ) with_custom_headers = True e_url = ( '/dna/intent/api/v1/onboarding/pnp-device/${id}' ) endpoint_full_url = apply_path_params ( e_url , path_params ) if with_custom_headers : json_data = self . _session . delete ( endpoint_full_url , params = _params , headers = _headers ) else : json_data = self . _session . delete ( endpoint_full_url , params = _params ) return self . _object_factory ( 'bpm_cdab9b474899ae06_v1_3_1' , json_data )
short_docstring: Deletes specified device from PnP database.
short_docstring_tokens: Deletes specified device from PnP database .
comment: """Deletes specified device from PnP database.
  
          Args:
              id(basestring): id path parameter.
              headers(dict): Dictionary of HTTP Headers to send with the Request
                  .
              **request_parameters: Additional request parameters (provides
                  support for parameters that may be added in the future).
  
          Returns:
              MyDict: JSON response. Access the object's properties by using
              the dot notation or the bracket notation.
  
          Raises:
              TypeError: If the parameter types are incorrect.
              MalformedRequest: If the request body created is invalid.
              ApiError: If the DNA Center cloud returns an error.
          """