Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating example code to create AccountAdmin with the child api_host… #235

Merged

Conversation

hsaloiye
Copy link
Contributor

@hsaloiye hsaloiye commented Oct 6, 2023

Updating example code to create Account Admin with the child api_hostname per the API documentation

Description

This change updates the get_billing_and_telephony_credits example to create AccountAdmin using the child account api hostname.
This is how the API documentation specifies this API should be used. https://duo.com/docs/accountsapi#using-accounts-api-with-admin-api

Motivation and Context

This updates the examples to match the API documentation. This will better set up customers for success going forward.

How Has This Been Tested?

I ran this code and saw this example completed successfully.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@AaronAtDuo AaronAtDuo merged commit 603eeaf into duosecurity:master Oct 10, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants