Skip to content

Commit

Permalink
docs(platform): account example orgid (#94)
Browse files Browse the repository at this point in the history
* docs(platform): account example orgid
  • Loading branch information
Levence authored May 30, 2024
1 parent 47af57e commit 6f145f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/accounts/create_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

account_name = <Account Name>
account_type = <Account Type Id>
organisational_unit_id = <Organisational Unit Id>

Config.access_key = os.getenv("STAX_ACCESS_KEY")
Config.secret_key = os.getenv("STAX_SECRET_KEY")
Expand All @@ -15,5 +16,6 @@
response = accounts.CreateAccount(
Name=account_name,
AccountType=account_type,
OrganisationalUnitId=organisational_unit_id,
)
print(json.dumps(response, indent=4, sort_keys=True))

0 comments on commit 6f145f0

Please sign in to comment.