code: def delete_peer(self, name, peer_type="REPLICATION"):
      
      params = self._get_peer_type_param(peer_type)
      return self._delete("peers/" + name, ApiCmPeer, params=params, api_version=3)
docs: Delete a replication peer.
  
      @param name: The name of the peer.
      @param peer_type: Added in v11. The type of the peer. Defaults to 'REPLICATION'.
      @return: The deleted peer.
      @since: API v3