code: def activate(self, bounce_id):
          '''
          Activates a deactivated bounce.
          '''
          self._check_values()
          req_url = '/bounces/' + str(bounce_id) + '/activate'
          # print req_url
          h1 = HTTPConnection('api.postmarkapp.com')
          dta = urlencode({"data": "blank"}).encode('utf8')
          req = h1.request(
              'PUT',
              req_url,
              dta,
              {
                  'Accept': 'application/json',
                  'Content-Type': 'application/json',
                  'X-Postmark-Server-Token': self.__api_key,
                  'User-agent': self.__user_agent
              }
          )
          r = h1.getresponse()
          return json.loads(r.read()f activate(self, bounce_id):
          '''
          Activates a deactivated bounce.
          '''
          self._check_values()
          req_url = '/bounces/' + str(bounce_id) + '/activate'
          # print req_url
          h1 = HTTPConnection('api.postmarkapp.com')
          dta = urlencode({"data": "blank"}).encode('utf8')
          req = h1.request(
              'PUT',
              req_url,
              dta,
              {
                  'Accept': 'application/json',
                  'Content-Type': 'application/json',
                  'X-Postmark-Server-Token': self.__api_key,
                  'User-agent': self.__user_agent
              }
          )
          r = h1.getresponse()
          return json.loads(r.read())
docs: Activates a deactivated bounce.