Skip to content

Commit

Permalink
concepts: tenant id example
Browse files Browse the repository at this point in the history
  • Loading branch information
aviau committed Aug 15, 2024
1 parent f44eaf9 commit 8988ab7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/concepts/sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ api_key = os.environ.get("FLARE_API_KEY")
if not api_key:
raise Exception("Please provide an API key")

client = FlareApiClient(api_key=api_key)
client = FlareApiClient(
api_key=api_key,
tenant_id=None, # Use my default tenant.
)

# We don't need to generate an API token manually.
# We can already call this endpoing and the library
Expand Down

0 comments on commit 8988ab7

Please sign in to comment.