code: def delete_policy(self, name):
          
          api_path = '/v1/sys/policy/{name}'.format(name=name)
          return self._adapter.delete(
              url=api_path,
          )
docs: Delete the policy with the given name.
  
          This will immediately affect all users associated with this policy.
  
          Supported methods:
              DELETE: /sys/policy/{name}. Produces: 204 (empty body)
  
          :param name: Specifies the name of the policy to delete.
          :type name: str | unicode
          :return: The response of the request.
          :rtype: requests.Response