fix docs for python sdk with typo for ClientId and BaseURL along with calls with .go instead of .py

This commit is contained in:
darrell-thobe-sp
2024-04-22 10:54:55 -04:00
parent d0d0ef21ed
commit 8447edfae5
4 changed files with 8 additions and 8 deletions

View File

@@ -47,7 +47,7 @@ except Exception as e:
Run this command to run the code: Run this command to run the code:
```bash ```bash
python sdk.go python sdk.py
``` ```
The SDK returns the `deletionStatus` with a value of 204. The SDK returns the `deletionStatus` with a value of 204.

View File

@@ -95,7 +95,7 @@ You must provide configuration to the SDK so it can authenticate to your SailPoi
### Configuration File ### Configuration File
The SDK requires a configuration file to be named "config.json". Within the file, provide these key/value pairs: `ClientID`, `ClientSecret`, `BaseUrl`. The SDK requires a configuration file to be named "config.json". Within the file, provide these key/value pairs: `ClientId`, `ClientSecret`, `BaseURL`.
<details> <details>
<summary>CLI Assisted <em>(Recommended)</em></summary> <summary>CLI Assisted <em>(Recommended)</em></summary>
@@ -117,9 +117,9 @@ sail sdk init config --env devrel
```json ```json
{ {
"ClientID": "g0567b766b413b22c05c66e75d532f1b", "ClientId": "g0567b766b413b22c05c66e75d532f1b",
"ClientSecret": "cabd0e950a7230b63c1ff45be33fb22065b382b6251a73c61177a8bb5482fcc7", "ClientSecret": "cabd0e950a7230b63c1ff45be33fb22065b382b6251a73c61177a8bb5482fcc7",
"BaseUrl": "https://[tenant].api.identitynow.com" "BaseURL": "https://[tenant].api.identitynow.com"
} }
``` ```
@@ -134,9 +134,9 @@ Create a file named "config.json", and provide these key/value pairs: `ClientID`
```json ```json
{ {
"ClientID": "g0567b766b413b22c05c66e75d532f1b", "ClientId": "g0567b766b413b22c05c66e75d532f1b",
"ClientSecret": "cabd0e950a7230b63c1ff45be33fb22065b382b6251a73c61177a8bb5482fcc7", "ClientSecret": "cabd0e950a7230b63c1ff45be33fb22065b382b6251a73c61177a8bb5482fcc7",
"BaseUrl": "https://[tenant].api.identitynow.com" "BaseURL": "https://[tenant].api.identitynow.com"
} }
``` ```

View File

@@ -35,5 +35,5 @@ print(accounts)
Run this command to run the code: Run this command to run the code:
```bash ```bash
python sdk.go python sdk.py
``` ```

View File

@@ -51,7 +51,7 @@ except Exception as e:
Run this command to run the code: Run this command to run the code:
```bash ```bash
python sdk.go python sdk.py
``` ```
The example uses a PATCH `replace` operation to update the value in the `/description` path to "This is an updated description for the workgroup." The example uses a PATCH `replace` operation to update the value in the `/description` path to "This is an updated description for the workgroup."