'Set the application property.
:param key: key of the property to set
:param value: value to assign to the property'

def set_application_property(self, key, value):

    url = ((self._options[u'server'] + u'/rest/api/latest/application-properties/') + key)
    payload = {u'id': key, u'value': value}
    return self._session.put(url, data=json.dumps(payload))
