Sha256: 73f1c78822a27e7efb6c68010cbf569bae323fa79ecf1b382c404367acdb034d
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
from pprint import pprint from hellosign_sdk import \ ApiClient, ApiException, Configuration, apis, models configuration = Configuration( # Configure HTTP basic authorization: api_key username="YOUR_API_KEY", # or, configure Bearer (JWT) authorization: oauth2 # access_token="YOUR_ACCESS_TOKEN", ) with ApiClient(configuration) as api_client: api = apis.ApiAppApi(api_client) white_labeling_options = models.SubWhiteLabelingOptions( primary_button_color="#00b3e6", primary_button_text_color="#ffffff", ) custom_logo_file = open('./CustomLogoFile.png', 'rb') data = models.ApiAppUpdateRequest( name="New Name", callback_url="http://example.com/hellosign", white_labeling_options=white_labeling_options, custom_logo_file=custom_logo_file, ) client_id = "0dd3b823a682527788c4e40cb7b6f7e9" try: response = api.api_app_update(client_id, data) pprint(response) except ApiException as e: print("Exception when calling HelloSign API: %s\n" % e)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hellosign-ruby-sdk-6.0.0.pre.beta | oas/examples/ApiAppUpdate.py |