Skip to content

Commit ed021c0

Browse files
committed
Updated to api_domain for consistency
1 parent d65358a commit ed021c0

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/cli/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ The following values should be present in one of the above locations:
2323
```bash
2424
INCYDR_API_CLIENT_ID='api-client-key'
2525
INCYDR_API_CLIENT_SECRET='api-client-secret'
26-
INCYDR_URL='https://example.com'
26+
INCYDR_URL='api_domain'
2727
```
2828

29-
You must update the `INCYDR_URL` value for your specific environment. To find the correct value, identify the URL you use to sign in to the Code42 web console, then note the corresponding **API Domain** value in the table below. Use https for all API requests.
29+
You must update the `api_domain` value for your specific environment. To find the correct value, identify the URL you use to sign in to the Code42 web console, then note the corresponding **API Domain** value in the table below. Use https for all API requests.
3030

3131
| Console Domain | API Domain |
3232
| ---------------------- | ------------------ |

docs/sdk/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Import the `incydr.Client` initialize with your Incydr API Client:
2121
import incydr
2222

2323
client = incydr.Client(
24-
url="https://example.com",
24+
url="api_domain",
2525
api_client_id="my_id",
2626
api_client_secret="my_secret" # (1)
2727
)
2828
```
2929

30-
You must update the `url` value for your specific environment. To find the correct value, identify the URL you use to sign in to the Code42 web console, then note the corresponding **API Domain** value in the table below. Use https for all API requests.
30+
You must update the `api_domain` value for your specific environment. To find the correct value, identify the URL you use to sign in to the Code42 web console, then note the corresponding **API Domain** value in the table below. Use https for all API requests.
3131

3232
| Console Domain | API Domain |
3333
| ---------------------- | ------------------ |

src/_incydr_sdk/core/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Client:
4343
Usage example:
4444
4545
>>> import incydr
46-
>>> client = incydr.Client(url="https://example.com", api_client_id="<client_id>", api_client_secret="<client_secret>")
46+
>>> client = incydr.Client(url="<api_domain>", api_client_id="<client_id>", api_client_secret="<client_secret>")
4747
4848
"""
4949

0 commit comments

Comments
 (0)